Skip to content

Instantly share code, notes, and snippets.

@acook
Created September 13, 2011 15:11
Show Gist options
  • Save acook/1214065 to your computer and use it in GitHub Desktop.
Save acook/1214065 to your computer and use it in GitHub Desktop.
Automatically use/create gemset for your project, and install bundler if its not installed already.
rvm --create ruby-1.9.2-p290@my_gemset_name
if ! command -v bundle ; then
gem install bundler
# Optional:
#bundle install
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment