> I had that problem, and it was that I had a from_plugin call in my app's
> routes to a plugin that actually didn't exist.  If you're sure the plugin
> does exist, can you try editing that file and make it like:

The plugin definitely exists.  The mappings worked fine until I
upgraded to Rails 2.0.2 and the Engines trunk.

> and let us know what the result of those lines is?

Trying to load plugin railscart's routes.
Engines loaded so far: ["engines", "acts_as_list",
"calendar_date_select", "has_many_polymorphs", "paginating_find"]

> Can you also paste in the full stack trace?

9152
=> Booting WEBrick...
D:/client-work/gp2/vendor/plugins/engines/lib/engines/rails_extensions/routing.rb:74:in
`from_plugin': You have a nil object when you didn't expect it!
(NoMethodError)
The error occurred while evaluating nil.routes_path     from
D:/client-work/gp2/config/routes.rb:18
        from 
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1250:in
`draw'
        from D:/client-work/gp2/config/routes.rb:1
        from 
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
`load'
        from 
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
`load'
        from 
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
`new_constants_in_without_injection'
        from 
D:/client-work/gp2/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/dependencies.rb:29:in
`new_constants_in'
        from 
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in
`load'
         ... 46 levels...
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`require'
        from ./script/server:3
        from -e:4:in `load'
        from -e:4


> -Andrew

Sean
_______________________________________________
Engine-Users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to