Created
August 26, 2013 03:09
-
-
Save DerekK19/6337811 to your computer and use it in GitHub Desktop.
Setup RVM to use a different version of Rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assuming you have ruby (say 2.0) installed along with Rails (4.0) | |
# If you now want to set up Rails 3.2 as well, (for example to connect to SQL Server databses, which Rails 4.0 can't do) | |
# Set up rvm to use a different gemset (which in this case we will call Rails3.2) | |
rvm use ruby-2.0.0@Rails3.2 --create | |
# install Rails 3.2 in that gemset | |
gem install rails -v 3.2 | |
# list the available rvm gemsets | |
rvm gemset list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment