-
-
Save Sutto/480257 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env sh | |
source ~/.rvm/scripts/rvm | |
! command -v ruby >/dev/null 2>&1 || command -v ruby | grep -v rvm >/dev/null | |
echo "Result = $?" | |
echo "<pre>" | |
echo "rvm_path = '$rvm_path'" | |
echo "$rvm_environments_path" | |
echo "---" | |
rvm alias list | |
echo "--" | |
echo "Before: $(rvm tools identifier)" | |
rvm default | |
echo "After: $(rvm tools identifier)" | |
echo "</pre>" | |
__rvm_load_rvmrc | |
exec ruby "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment