Rvm

Ruby enVironment Manager

Links

How-Tos

Managing Rubies

Install Specific Version

$ rvm install ruby-2.5.0

Download/compile ruby from HEAD (current dev/trunk version)

$ rvm install ruby-2-head

Managing Gemsets

Gemsets are the sets of Gems installed that are also coupled to the specific version(s) of Ruby installed.

Each gemset is tied to a specific Ruby version, and delineated with the ruby version, the @ symbol, and then the name of the gemset. I.e. 2.5.0@gemset-name

Creating a gemset:

$ rvm gemset create <gemset-name>

Activating a gemset:

$ rvm use 2.5.0@gemset-name