Alas, Rails and Engines appears to conspire to break routes?
rails project
cd project
script/plugin install engines
script/server
which results in :
Expected /Users/jodi/Documents/dev/test_project_2/vendor/rails/
railties/builtin/rails_info/rails/info_controller.rb to define
Rails::InfoController^M
./script/…/config/…/vendor/rails/activesupport/lib/active_support/
dependencies.rb:246:in load_missing_constant' ./script/../config/../vendor/rails/activesupport/lib/active_support/ dependencies.rb:446:inconst_missing’
when resolving a route (in this case the InfoController)
I noticed that a 1.2 branch is underway. Should I use this instead?
There’s some serious hardcore refactoring underfoot - my advice, for
the moment, would be to avoid using 1.2 release candidates if you
cannot survive without a functioning engines plugin. Hopefully by the
weekend I’ll have something fairly stable to introduce as an ‘engines
1.2 release candidate’
That said, please do investigate why this bug is happening, and submit
a ticket with as much detail as you can muster - it all helps!