RubyGems, the Ruby package manager, should be installed on your machine if you previously have installed Ruby. Verify this by running:
which gemTo update to its latest version with:
gem update --systemTo install a gem (Ruby package), run:
gem install <gemname>To install without generating the documentation for each gem (faster):
gem install <gemname> --no-documentgem listTo check if any installed gems are outdated:
gem outdatedTo update all gems or a particular gem:
gem update [<gemname>]RubyGems keeps old versions of gems, so feel free to do some cleaning after updating:
gem cleanup