RubyGems is a package utility for Ruby (http://rubyforge.org/projects/rubygems) written by Jim Weirich. It installs Ruby
software packages and keeps them up to date. RubyGems is quite easy to learn and use—even
easier than tools like the Unix/Linux
tar utility (http://www.gnu.org/software/tar) or Java's
For more information, read the RubyGems documentation at http://docs.rubygems.org/. The RubyGems User Guide (http://docs.rubygems.org/read/book/1) gives you most everything you need to know about using RubyGems. There is also a command Reference (http://docs.rubygems.org/read/book/2).
RubyGems likely was installed on your system when you installed Ruby. To make sure, type on Unix or Linux:
$ which gem /usr/local/bin/gem
Or just check the version by typing:
$ gem -v 0.9.0
$ gem --version 0.9.0
Let's start from scratch—by getting help on how to issue RubyGems commands:
$ gem RubyGems is a sophisticated package manager for Ruby. This is a basic help message containing pointers to more information. Usage: gem -h/--help gem -v/--version gem command [arguments...] [options...] Examples: gem install rake gem list --local gem build package.gemspec gem help install Further help: gem help commands list all 'gem' commands gem help examples show some examples ...