# Rails 2.1.1 Bug?

**URL:** <https://www.ruby-forum.com/t/rails-2-1-1-bug/148744>\
**Category:** Rails\
**Created:** [September 16, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/rails-2-1-1-bug/148744 "2008-09-16T19:29:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 16, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/rails-2-1-1-bug/148744/1 "2008-09-16T19:29:39Z")

</div>

Rails 2.1.1 worked find in my development environment, but I was  
unable to start the mongrel cluster in production. I received the  
following error:

/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active\_support/  
core\_ext/rexml.rb:8: uninitialized constant REXML::VERSION (NameError)  
from /usr/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/ active_support/core_ext.rb:3 from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/ active_support/core_ext.rb:1 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in`require’  
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/  
active\_support.rb:31  
from /usr/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.1/lib/ active_record.rb:34 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in`require’  
… 11 levels…  
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/mongrel\_rails:  
84:in `run' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel/ command.rb:212:in`run’  
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/mongrel\_rails:281  
from /usr/bin/mongrel\_rails:16

Has anyone else run into this?

Thanks!  
Tom

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 16, 2008, 7:35pm UTC](https://www.ruby-forum.com/t/rails-2-1-1-bug/148744/2 "2008-09-16T19:35:32Z")

</div>

On 16 Sep 2008, at 18:18, TomRossi7 wrote:

> Rails 2.1.1 worked find in my development environment, but I was  
> unable to start the mongrel cluster in production. I received the  
> following error:

it’s because you’ve got an older version of ruby, where the thing  
giving the version of rexml was REXML::Version and not REXML::VERSION

update that file to what it is on edge  
([http://github.com/rails/rails/tree/master/activesupport/lib/active\_support/core\_ext/rexml.rb](http://github.com/rails/rails/tree/master/activesupport/lib/active_support/core_ext/rexml.rb)  
) to make the pain go away.

Fred
