Forum: Ruby on Rails Rails 1.2.2 upgrade problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Don M. (Guest)
on 2007-03-06 18:25
(Received via mailing list)
I was upgrading today from 1.1.2 to 1.2.2.

When I attempt to run the ruby script/server process now, I get the
errors below. I have looked through the
source files, but nothing obvious. The problem may be a constant which
now requires an explicit 'require filename',
but don't know how to find that constant.

Any help would be appreciated!

Regards,
Don McClean


** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment ...
Exiting
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/
dependencies.rb:376: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:/ruby/lib/ruby/
gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:
202:in `load_file'
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:94:in `require_or_load'
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:248:in `load_missing_constant'
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:452:in `const_missing'
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:464:in `const_missing'
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:260:in `load_missing_constant'
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:452:in `const_missing'
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:470:in `const_missing'
         ... 28 levels...
        from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:495:in `require'
        from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/
server.rb:39
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'
        from script/server:3
Don M. (Guest)
on 2007-03-06 19:34
(Received via mailing list)
Never mind, it was a Selenium plugin causing the problems
Roger P. (Guest)
on 2007-09-26 20:20
Don Mc wrote:
> Never mind, it was a Selenium plugin causing the problems

Appears that you can fix it by changing the dashes in teh
selenium-plugin-directory to _'s
see http://forums.openqa.org/thread.jspa?messageID=25536
This topic is locked and can not be replied to.