# Rails 1.2.2 upgrade problem

**URL:** <https://www.ruby-forum.com/t/rails-1-2-2-upgrade-problem/87891>\
**Category:** Rails\
**Created:** [March 6, 2007, 5:25pm UTC](https://www.ruby-forum.com/t/rails-1-2-2-upgrade-problem/87891 "2007-03-06T17:25:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmcclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/91b2a8/32.png) [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Post date:** [March 6, 2007, 5:25pm UTC](https://www.ruby-forum.com/t/rails-1-2-2-upgrade-problem/87891/1 "2007-03-06T17:25:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dmcclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/91b2a8/32.png) [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Post date:** [March 6, 2007, 6:34pm UTC](https://www.ruby-forum.com/t/rails-1-2-2-upgrade-problem/87891/2 "2007-03-06T18:34:00Z")

</div>

Never mind, it was a Selenium plugin causing the problems

---

<div class="post-metadata">

**Author:** ![dmcclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/91b2a8/32.png) [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Post date:** [September 26, 2007, 6:20pm UTC](https://www.ruby-forum.com/t/rails-1-2-2-upgrade-problem/87891/3 "2007-09-26T18:20:23Z")

</div>

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](http://forums.openqa.org/thread.jspa?messageID=25536)
