Upgrade RVM Ruby to Another Version

Recently, there was an important security update for Ruby. As a result, RVM was updated.

I updated RVM to load the new list:

rvm get stable

Then, I checked the known list:

rvm list known

Now, upgrade to the version of your choice:

rvm upgrade [current-version] [desired-version]


rvm upgrade 2.1.3 2.1.4

At this point, you’ll be prompted on whether you would like to delete the previous version and move it’s gemsets to the new version. Be sure to read through those instructions carefully.

Clean up, clean up, everybody clean up

Now, clean up after yourself.

rvm cleanup all

This will clean up any unnecessary files or other information taking up disk space.

If you’re a ruby developer by hobby or by title, be sure that you’re subscribed to the updates on Ruby-Lang News