somethingx Posted November 14, 2006 Share Posted November 14, 2006 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 More sharing options...
Guest zupazax Posted December 6, 2006 Share Posted December 6, 2006 I got the same error as you. and I upgrade these package by download all these files. http://rpmfind.net//linux/RPM/mandriva/dev...7.1.noarch.htmlhttp://rpmfind.net/linux/RPM/mandriva/deve...7.1.noarch.html http://rpmfind.net/linux/RPM/mandriva/deve...7.1.noarch.html http://rpmfind.net/linux/RPM/mandriva/deve...7.1.noarch.html and then Upgrade it rpm -Uvh ruby-activerecord-1.14.4-1mdv2007.1.noarch.rpmrpm -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 More sharing options...
somethingx Posted December 11, 2006 Author Share Posted December 11, 2006 What I did is uninstall Rails package and install it using gems. That was before I read this reply. Which way is better? Link to comment Share on other sites More sharing options...
Guest Robert Sebille Posted August 16, 2007 Share Posted August 16, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now