I’m trying to use jruby -v 1.9.
When I run the application I have the error:
Completed 500 Internal Server Error in 15ms
NameError (uninitialized constant Settings):
Rendered
/home/mauro/jruby-1.6.4/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb
(50.0ms)
Rendered
/home/mauro/jruby-1.6.4/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
(9.0ms)
Rendered
/home/mauro/jruby-1.6.4/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb
within rescues/layout (90.0ms)
That happens if I create e controller with action index and put that
controller#action as root in the routes.rb file and delete index.html
under /public.
If restore index.html and let root default under routes.rb all goes
well.