I just used RVM to update my Ruby version to 1.9.3 from 1.8.7. Everything compiled and worked perfectly (as far as I can tell, no errors from RVM or anything), but when I type
ruby -v, my machine tells me I'm still running 1.8.7. Did I miss a step in my installation? I'm running OSX Lion.
preguntado el 10 de marzo de 12 a las 08:03
Here is how I install ruby 1.9.3 and make sure it persists across shells:
\curl -L https://get.rvm.io | bash # install rvm rvm use ruby-1.9.3-p448 --install # install ruby 1.9.3 rvm --default use ruby-1.9.3-p448 # set ruby 1.9.3 as the default version