Question

I am new to ruby programming and want to update ruby from 1.8.7 to 1.9.2. I have followed some steps from different sources but not able to get required result

the sequence of steps are given below

#apt-get install ruby-rvm
#rvm remove 1.8.7
#rvm install 1.9.2
#rvm use 1.9.2
Using /usr/share/ruby-rvm/gems/ruby-1.9.2-p290

after that when i fire #ruby -v, then also it gives the result as given below

#ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]

Please guide me with specific solution I am using ubuntu 11.10 beta

Était-ce utile?

La solution

you have two installations of rvm, and one of them is broken, please use this answer: Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top