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
Creating a new Rails 4 app when I have Rails 3 and rvm?
-
18-06-2023 - |
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?
Solution
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