Skip to content

Instantly share code, notes, and snippets.

@steventwheeler
Created May 5, 2016 01:51
Show Gist options
  • Save steventwheeler/2e67986418e1d96cdbcf9fbb9f0e6fc9 to your computer and use it in GitHub Desktop.
Save steventwheeler/2e67986418e1d96cdbcf9fbb9f0e6fc9 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
source $HOME/.rvm/scripts/rvm
rvm use --default --install $1
shift
if (( $# ))
then gem install $@
fi
rvm cleanup all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment