Ruby 1.9.1-p129 + ActiveRecord 2.3.2



I’ve been using Ruby 1.8.6 + ActiveRecord 2.1.2 for a long time with
great success. However, I would like to upgrade to Ruby 1.9 and the
latest version of ActiveRecord.

To this end, I downloaded, compiled, and installed Ruby 1.9.1-p129, and
subsequently installed the ActiveRecord 2.3.2 gem (via “gem install

Unfortunately, when I try to “require ‘activerecord’”, Ruby throws the
following exception:

LoadError: no such file to load – i18n/backend/simple

I’m left scratching my head: it seems as though “gem” failed to install
a dependency of activerecord. Installing the i18n gem merely changes the
above exception into a different one:

NoMethodError: undefined method alias_method_chain' for I18n::Backend::Simple:Class from /opt/ruby-1.9.1-p129/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/active_record/i18n_interpolation_deprecation.rb:23:inclass:Simple
<module:Backend>' from /opt/ruby-1.9.1-p129/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib/active_record/i18n_interpolation_deprecation.rb:7:inmodule:I18n

Is there a solution to this problem? Perhaps there are some known
incompatibilities between Ruby 1.9.1-p129 and ActiveRecord 2.3.2? I’d
appreciate any assistance you can offer.




LoadError: no such file to load – i18n/backend/simple

how bizarre.
Works here for me 2.3.2


require ‘activerecord’
=> true

=> “ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]”

I think I may have run into something like that once where I was going
from one rails version to the next–do “fresh” rails apps do that? Do
you have other gem versions of rails installed, or in /vendor? There
might be a conflict.