How can I change default rvm ruby version?


#1

If you install a newer version of ruby in your rvm envrionment, you can make it default with following command:

$ rvm --default use 2.2.1

After changing default ruby version, it will shown with an asterisk output of the rvm list:

$ rvm list   
   ruby-2.0.0-p643 [ x86_64 ]
 * ruby-2.1.5 [ x86_64 ]
=> ruby-2.2.1 [ x86_64 ]