1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Upgrading to 1.9.2 Using RVM

By

2 of 7

Upgrade RVM Itself

Every time you need to upgrade to a new Ruby, you need to upgrade RVM first. This is because your current RVM won't know which Rubies are available. To do this, upgrade your RVM to head by using the following command. Note that this will just upgrade the RVM environment in your home directory, and won't touch the RVM gem itself.

Note that to update to the head branch, RVM needs to check the latest version of itself out of a Git repository. To do this, it needs to be able to access the Git command line program. Make sure that's installed first. It's installed by installing the git-core package on Ubuntu Linux.

$ sudo apt-get install git-core
$ rvm update --head

©2014 About.com. All rights reserved.