Question

My Mac 10.9 is currently set up with Rails 3.x and Ruby 1.9.3. For a new app I am making, I want to use Rails 4 (or 4.1?) and Ruby 2.x (not sure which version is recommended). How do I do this with rvm so that I can easily switch back and forth between old and new apps?

Was it helpful?

Solution

You can install another ruby version with RVM, like rvm install ruby 2.1.1 and you can switch with many version rvm use 1.9.3

http://rvm.io/rvm/basics

OTHER TIPS

Try to use this:

  rvm get head

  rvm reload

  rvm install ruby-2.1.1
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top