How can I get RubyGems 1.3.6 on Ubuntu 10.4

Rubygems

Rubygems Problem Overview


I've just installed a new vm (VirtualBox) with Ubuntu 10.4 and Ruby1.9.1. I've got the package for RUbyGems1.9.1 but when I do gem --version I still get 1.3.5.

Rubygems Solutions


Solution 1 - Rubygems

I got it working using

gem install rubygems-update
cd /var/lib/gems/1.9.1/bin
sudo ./update_rubygems

Solution 2 - Rubygems

This no longer works. It now gives the error message: "Since apparently nobody reads my emails, blog posts or the README:

DO NOT UPDATE RUBYGEMS ON RUBY 1.9! See UPGRADING.rdoc for details."

It appears the only way to get beyond 1.3.5 on Ubuntu is to go outside apt-get and download the source. http://blog.zenspider.com/2010/12/rubygems-141-has-been-released.html

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionCountCetView Question on Stackoverflow
Solution 1 - RubygemsCountCetView Answer on Stackoverflow
Solution 2 - RubygemsAdam NView Answer on Stackoverflow