by Andy Selvig
3. November 2010 16:58
If you have the default rubygems package (version 1.3.5) installed on Ubuntu 10.04 and you try to update to the latest Rails release (3.0.x), you'll get a message about needing a later version of rubygems:
ERROR: Error installing rails:
bundler requires RubyGems version >= 1.3.6
A simple way to fix this is to install the rubygems-update gem:
% sudo gem install rubygems-upate
Then upate to the latest rubygems with:
% sudo /var/lib/gems/1.8/bin/update_rubygems
Now you should be able to install the latest version of Rails:
% sudo gem install rails
25a482c6-4833-42d6-942f-45f620bef0cd|0|.0
Tags: rails, ubuntu