RubyGems Navigation menu

Download RubyGems v2.4.5

RubyGems is a package management framework for Ruby. Download the latest version here:

Or, 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  # again, might need to be admin/root
$ update_rubygems              # ... here too

If you don't have any RubyGems installed, there is still the pre-gem approach to getting software, doing it manually:

  1. Download from above
  2. Unpack into a directory and cd there
  3. Install with: ruby setup.rb (you may need admin/root privilege)

For more details and other options, see:

ruby setup.rb --help