Setting rvm to update automatically

Problem

You want to automatically upgrade your rvm installation whenever there is a new version out.

Solution

You can run the following so that your rvm installation is upgraded every time you use something like rvm list known.

echo rvm_autoupdate_flag=2 >> ~/.rvmrc