If you're using JRuby's Goldspike plugin to create a WAR for deployment, you might discover that rake war:standalone:run puts the application into a named context (e.g. http://localhost:8080/myapplication). Since most Ruby applications run at the root, this might disrupt your application if it wasn't built to handle a changing path (or your remote tests, which might have the same problem).
Fortunately, it's very easy to modify Goldspike to use the root:
- Open vendor/plugins/goldspike/lib/run.rb
- Find the WebAppContext definition
- Adjust the second argument from
<Arg>/<%= config.name %></Arg>