How can I get RubyGems 1.3.6 on Ubuntu 10.4

2019-01-30 03:54发布

问题:

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.

回答1:

I got it working using

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


回答2:

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



标签: rubygems