Skip to content

Instantly share code, notes, and snippets.

@fleveque
Created October 29, 2014 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fleveque/a9b21ebdbe6f24299430 to your computer and use it in GitHub Desktop.
Save fleveque/a9b21ebdbe6f24299430 to your computer and use it in GitHub Desktop.
Ruby version and gemsets with rvm inside bash script
#!/bin/bash
source "$HOME/.rvm/scripts/rvm" &&
rvm use 2.1.2
# Use bash, not sh on first line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment