# Ruby 1.9.1-p129 + ActiveRecord 2.3.2

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-1-p129-activerecord-2-3-2/169132>\
**Category:** Ruby\
**Created:** [May 29, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129-activerecord-2-3-2/169132 "2009-05-29T23:00:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Toscano](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e57/32.png) [@Joseph\_Toscano](https://www.ruby-forum.com/u/Joseph_Toscano)\
**Post date:** [May 29, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129-activerecord-2-3-2/169132/1 "2009-05-29T23:00:41Z")

</div>

Hi,

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  
rails”).

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

LoadError: no such file to load – i18n/backend/simple  
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:5:in  
`require’

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:in `class:Simple’  
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:8:in  
`<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:in `module: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.

Thanks,

–JT  
[http://zhaymusic.com/](http://zhaymusic.com/)

---

<div class="post-metadata">

**Author:** ![Joseph\_Toscano](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a88e57/32.png) [@Joseph\_Toscano](https://www.ruby-forum.com/u/Joseph_Toscano)\
**Post date:** [May 30, 2009, 3:30pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129-activerecord-2-3-2/169132/2 "2009-05-30T15:30:26Z")

</div>

> LoadError: no such file to load – i18n/backend/simple  
> 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:5:in  
> `require’

how bizarre.  
Works here for me 2.3.2

C:\ruby19\bin\>irb

> > require ‘activerecord’  
> > =\> true
> 
> > RUBY\_DESCRIPTION  
> > =\> “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.  
Cheers!  
-=r
