Forum: Ruby Ruby 1.9.1-p129 + ActiveRecord 2.3.2

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Joseph Toscano (Guest)
on 2009-05-30 01:00
(Received via mailing list)

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

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.


Roger P. (Guest)
on 2009-05-30 17:30
> LoadError: no such file to load -- i18n/backend/simple
>         from
> `require'

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.
This topic is locked and can not be replied to.