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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...