Jump to content

Rails


somethingx
 Share

Recommended Posts

I installed Mandriva 2007 and now when I try to run rails I get this error:

 

/usr/lib/ruby/site_ruby/1.8/rubygems.rb:251:in `report_activate_error': RubyGem version error: activerecord(1.14.3 not = 1.14.4) (Gem::LoadError)

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:188:in `activate'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:214:in `activate'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:213:in `each'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:213:in `activate'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:66:in `active_gem_with_options'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:59:in `require_gem'

from /usr/bin/rails:17

 

 

The official RPM is ruby-activerecord-1.14.3-2mdv2007.0 , but this is obviously the wrong version.

Link to comment
Share on other sites

  • 4 weeks later...
Guest zupazax

I got the same error as you. and I upgrade these package by download all these files.

 

 

and then Upgrade it

rpm -Uvh ruby-activerecord-1.14.4-1mdv2007.1.noarch.rpm

rpm -Uvh ruby-actionpack-1.12.5-1mdv2007.1.noarch.rpm

rpm -Uvh ruby-actionmailer-1.2.5-1mdv2007.1.noarch.rpm

rpm -Uvh ruby-actionwebservice-1.1.6-1mdv2007.1.noarch.rpm

 

and I can solve it(for now).

Link to comment
Share on other sites

  • 8 months later...
Guest Robert Sebille
I installed Mandriva 2007 and now when I try to run rails I get this error:

 

/usr/lib/ruby/site_ruby/1.8/rubygems.rb:251:in `report_activate_error': RubyGem version error: activerecord(1.14.3 not = 1.14.4) (Gem::LoadError)

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:188:in `activate'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:214:in `activate'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:213:in `each'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:213:in `activate'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:66:in `active_gem_with_options'

from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:59:in `require_gem'

from /usr/bin/rails:17

The official RPM is ruby-activerecord-1.14.3-2mdv2007.0 , but this is obviously the wrong version.

 

i get this error too and i solve it following the proccess described here:

http://rubyforge.org/pipermail/rubygems-de...rch/001441.html

like the author of this post,i had to run

[root@tilenau robert]# gem update

one or multiple times to finish the process.

Play attention: you must run "gem update" as root!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...