Вопрос

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?

Это было полезно?

Решение

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

Другие советы

Try to use this:

  rvm get head

  rvm reload

  rvm install ruby-2.1.1
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top