I have installed the latest RVM, and by default Ruby 1.9.3-p194 was installed.
However, I do not see this Ruby version on the command line:
murtaza@murtaza-dev:~$ rvm use current
ruby-1.9.3-p194
murtaza@murtaza-dev:~$ ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
murtaza@murtaza-dev:~$
The problem was that I had not added this line to
.bashrc:After this, setting the Ruby version with RVM succeeds.