Skip to content

Instantly share code, notes, and snippets.

@AlexBaranosky
Last active January 2, 2016 18:59
Show Gist options
  • Save AlexBaranosky/8346846 to your computer and use it in GitHub Desktop.
Save AlexBaranosky/8346846 to your computer and use it in GitHub Desktop.
if rvm version >/dev/null 2>&1; then
SELECT_RUBY="rvm use system" ## 'system' is the important piece
SUDO_GEM=""
else
SELECT_RUBY="date"
SUDO_GEM="sudo"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment