Created
October 17, 2011 07:29
-
-
Save psy-q/1292127 to your computer and use it in GitHub Desktop.
Can't switch rubies in a bash script
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
#!/bin/bash | |
ruby -v # Returns ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux] | |
/usr/local/rvm/bin/rvm use 1.9.2 # Outputs: Using /usr/local/rvm/gems/ruby-1.9.2-p290 | |
ruby -v # Returns ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment