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?

Était-ce utile?

La 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

Autres conseils

Try to use this:

  rvm get head

  rvm reload

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