How to set default Ruby version with RVM?
问题 Ubuntu 11. I do the following: $ rvm --default use 1.9.2 and I get: Using /home/md/.rvm/gems/ruby-1.9.2-p180 so that is good. but when I now open a new terminal window I still get: $ ruby -v ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux] 回答1: If you put the RVM source line in your bashrc (in order to ensure that non-interactive shells have access to RVM), you will need to source .bashrc from your .bash_profile with the following as the last lines in your .bash_profile if [ -f "$HOME/