[Rails3] Rails 3 app in one file


I’ve tried to run config.ru file provided by Yehuda K.:

After running it and pointing browser to localhost:3000/foo I get
“RoutingError: uninitialized contant FooController” error.

Have anyone else tried it? Is there anything more to add?

My Gemfile is one liner:
gem ‘rails’, :git => “git://github.com/rails/rails.git”

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs