1

I needed some features from a newer version so I installed 1.9.3 . However after the installation when I write "ruby --version" it still gives me back 1.8.7.

Any idea how to update it?

I used rvm install ruby-1.9.3-p0 to install it, and this worked on other machines, just not on this one

4
  • What is the output of rvm current and rvm list? Mar 6, 2012 at 0:03
  • I solved it by going to the app directory and writing "rvm ruby-1.9.3-p0"
    – Darko
    Mar 6, 2012 at 0:22
  • If you've solved your problem on your own then I suggest you delete your question so it does not continue to show up as unanswered. Mar 6, 2012 at 0:24
  • or write your answer by yourself
    – mpapis
    Mar 6, 2012 at 0:58

1 Answer 1

1

there is a shortcut for your needs:

rvm use 1.9.3-p0 --install --default

where:

  • --install will install this ruby if it is not yet installed
  • --default will set this ruby default so it will be loaded when you open new shell

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.