This command tells RubyGems to upgrade itself to the latest version of RubyGems.
Updated 2010 on modern RubyGems, all you have to do is
gem update --system
and you are set. Then you can say
gem update to get the latest versions of installed gems.
The rest of this post will be left intact for historical purposes.If you were going to read the documentation…
…then just say
sudo gem update
- sudo gem update --system
- # OLD WAY, for historical purposes
- sudo gem install rubygems-update --no-rdoc --no-ri
- sudo update_rubygems
You need to login to post a comment.