Created
November 5, 2013 05:43
-
-
Save yesmeck/7314478 to your computer and use it in GitHub Desktop.
Pow with RVM's ruby-version
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
if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".ruby-version" ]; then | |
source "$rvm_path/scripts/rvm" | |
if [ -f ".ruby-gemset" ]; then | |
rvm use `cat .ruby-version`@`cat .ruby-gemset` | |
else | |
rvm use `cat .ruby-version` | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment