I recently installed RVM on a new installation of Ubuntu 11.10 and cannot decide how to start using a particular ruby โโversion.
I installed Ruby 1.8.7 and 1.9.2, and they appear in the list in order:
$ rvm list rvm rubies ruby-1.8.7-p352 [ i386 ] ruby-1.9.2-p290 [ i386 ]
When I try to use the "use" command, everything looks fine:
$ rvm use 1.9.2 Using /usr/share/ruby-rvm/gems/ruby-1.9.2-p290 Running /usr/share/ruby-rvm/hooks/after_use
But then, when I test the current ruby โโversion, I get the usual Ubuntu 11.10 message that you get when you donโt have RVM at all:
$ ruby -v The program 'ruby' can be found in the following packages: * ruby1.8 * ruby1.9.1 Try: sudo apt-get install <selected package>
What am I doing wrong? Am I missing a step in installing RVM or something like that?
EDIT *
Answers to some comments:
$ which ruby
ruby rvm
Adam harte
source share