-
-
Save mpapis/1713651 to your computer and use it in GitHub Desktop.
RVM's .rvmrc files break `rvm list` output
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
| source "$rvm_path/scripts/rvm" | |
| rvm install 1.8.7 | |
| rvm install 1.9.2 | |
| rvm use 1.8.7@abc-test --create --default | |
| # status=0 | |
| # match=/Using .*ruby-1.8.7.* with gemset abc-test/ | |
| rvm current | |
| # match=/ruby-1.8.7.*@abc-test/ | |
| rvm use 1.9.3@abc-test --create | |
| # status=0 | |
| # match=/Using .*ruby-1.9.3.* with gemset abc-test/ | |
| rvm current | |
| # match=/ruby-1.9.3.*@abc-test/ | |
| rvm list | |
| # match=/^ \* ruby-1.8.7/ | |
| # match=/^=> ruby-1.9.3/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment