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 w开发者_StackOverflowhen I do gem --version I still get 1.3.5.
I got it working using
gem install rubygems-update
cd /var/lib/gems/1.9.1/bin
sudo ./update_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
精彩评论