RubyGems is a package management framework for Ruby. Download the latest version here:
To upgrade to the latest RubyGems:
$ gem update --system
# may need to be administrator or rootNOTE: RubyGems 1.1 and 1.2 have problems upgrading when there is no rubygems-update installed. You will need to use the following instructions if you see Nothing to update. If you have an older version of RubyGems installed, then you can still do it in two steps:
$ gem install rubygems-update
$ update_rubygems
If you don't have any RubyGems installed, there is still the pre-gem approach to getting software, doing it manually: