How to update RubyGems

RubyGems is a package management framework for Ruby. New versions of Ruby Gems are frequently released to solve bugs and vulnerabilities introduced by older versions.

A package manager is a tool that allows for the easy and automated installation, update, and configuration of a software or tool.

Update RubyGems

To upgrade to the latest version of RubyGems, use the following command in the console:

$ gem update --system

To install a particular Gem, use the following command:

gem install <gemname>

Free Resources