Created
November 6, 2012 21:12
-
-
Save mtrpcic/4027585 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
1. Use a ruby version | |
rvm use 1.9.2-p248 | |
2. Create a gemset | |
rvm gemset create myapp | |
3. In the root of your app, add a file named ".rvmrc" with the following contents: | |
rvm use 1.9.2-p248@myapp | |
Now, whenever you `ls` into that directory, it will automatically use your preferred | |
version of Ruby, with the proper Gemset. Tada! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment