Rails 2.1.1 Bug?

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:inrequire’
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:inrequire’
… 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:inrun’
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

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
) to make the pain go away.

Fred