How to install RubyGems:

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 root

NOTE: 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:

  1. Download from one of the links listed above
  2. Unpack into a directory and cd there
  3. Install with ruby setup.rb (you may need admin/root privilege