What are Stack Frames?

Dominic Son wrote:

installed 1.2.1, but in my app that matters, server won't start (will start with other apps): ** Starting Rails with development environment ...

C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:377:in

`new_constants_in': You have a nil object when you didn't expect it! (NoMethodError) You might have expected an instance of Array. The error occurred while evaluating nil.empty? from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:203:in `load_file'

I had the same problem - it was caused by the plugin selenium_on_rails. Check whether your plugins are compatible with Rails 1.2

Yep - just removed a couple of plugins that weren't needed for production, and now the app starts fine.

The issue was with either the ar_fixtures and/or svn_tools and/or debug_view_helper plugin(s).

Thanks for pointing me in the right direction.

I believe there is an issue with debug_view_helper.

I added:

ActionView::Base.send :include, ViewDebugHelper

to init.rb

and removed:

ActionController::Base.class_eval do helper :view_debug end

from view_debug_helper.rb

It seems to work.

-Craig

Ah, nice detective work - thanks Craig.