Some Guy
Some Guy

Reputation: 13568

Creating a new Rails 4 app when I have Rails 3 and rvm?

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?

Upvotes: 0

Views: 454

Answers (2)

Dheer
Dheer

Reputation: 793

Try to use this:

  rvm get head

  rvm reload

  rvm install ruby-2.1.1

Upvotes: 0

hypee
hypee

Reputation: 718

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

Upvotes: 2

Related Questions