In my case, I also had troubles with "the big upgrade". I discovered 
this thread here, in particlar  Sean Schofield's post about the active 
merchant plugin's inflector problem, and taking inspiration from that, I 
added the following code to my environment.rb, inside the config block:

config.plugins = [ :all, :active_merchant ]

Now my application is loading correctly! Thanks to all who explored this 
issue... it was a real pain.

Ron Evans
http://www.deadprogrammersociety.com

> Tim Booher wrote:
> Sorry, but I can't get this to work:
> 
> When starting webrick I get the following error:
> /vendor/plugins/engines/lib/
> engines/rails_extensions/routing.rb:69:in `from_plugin': You have a
> nil object when you didn't expect it! (NoMethodError)
> The error occurred while evaluating nil.routes_path
> from /config/routes.rb:4
> from C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
> action_controller/routing.rb:1250:in `draw'
> from /config/routes.rb:1
>  ... lots of levels...
> from C:/ruby/bin/rdebug-ide:16:in `load'
> from C:/ruby/bin/rdebug-ide:16
> 
> engines (with savage beast) was working fine before this . . . but now
> the ruby error is vastly above my understanding of these plugins. if i
> comment out:
> 
>   map.from_plugin :savage_beast
> 
> in my routes.rb file, then everything works.
> 
> any help here is greatly appreciated -- I don't understand engines as 
> well as I should, and I can't properly troubleshoot this.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Engine-Users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to