Hi ZhayTee,

It sounds like ruby 1.9.1 isn't being used to run your app. Make sure
all symlinks to the ruby interpret point to 1.9. Also, you will need
to reinstall gem with ruby 1.9.1 and then re-download and install the
rails gems with the new gem install for 1.9.

Worked for us.

Cheers,
George



On May 31, 8:32 pm, ZhayTee <[email protected]> wrote:
> Hi,
>
> According to its release notes,Rails2.3.2should run fine on Ruby
> 1.9.1. Since I've read about substantial performance gains from 1.9, I
> decided to upgrade.
>
> I built and installed Ruby1.9.1-p129on my server (Ubuntu 9.04, amd64
> CPU) without any problems. Similarly, I was able to installRails2.3.2via 
> "gem" without any problems.
>
> Unfortunately,Railsitself fails to function. Running the "rails"
> script fails with the following error:
>
> <internal:gem_prelude>:234:in `push_gem_version_on_load_path': Could
> not find RubyGem activesupport (>= 0) (Gem::LoadError)
>
> And trying to require one of the component gems also fails, as
> follows:
>
> irb(main):001:0> require "activerecord"
> 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'
>
> Installing the "i18n" gem merely causes further problems, as follows:
>
> irb(main):001:0> require 'activerecord'
> 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>'
>
> What follows is a list of the installed gems on my system:
>
> [zhay...@orzhova] ~$ gem list
> *** LOCAL GEMS ***
> actionmailer (2.3.2)
> actionpack (2.3.2)
> activerecord (2.3.2)
> activeresource (2.3.2)
> activesupport (2.3.2)
> fastthread (1.0.7)
> i18n (0.1.0)
> passenger (2.2.2)
> pg (0.8.0)rails(2.3.2)
> rake (0.8.4)
>
> IsRails2.3.2simply not compatible with 1.9.1, despite what the
> release notes say? Any help would be greatly appreciated.
>
> ZhayTee
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to