Upgrading RubyGems
There are many different ways to upgrade RubyGems. Unfortunately, depend-
ing on which version of RubyGems you have installed and what distribution
you are running, not all of the ways work. Be persistent. Try each of the follow-
ing until you find one that works for you.
* Using the gem update system:
sudo gem update --system
* Using the gem designed to update troublesome systems:
sudo gem install rubygems-update
sudo update_rubygems
* Using setup.rb, which is provided with rubygems-update:
sudo gem install rubygems-update
cd /var/lib/gems/1.8/gems/rubygems-update-*
sudo ruby setup.rb
* Finally, installing from source:
wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
tar xzf rubygems-1.3.1.tgz
cd rubygems-1.3.1
sudo ruby setup.rb
算是补全了