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
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.