Skip to content

Instantly share code, notes, and snippets.

@jlindley
Created January 18, 2012 21:34
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Bundle check then bundle install if needed, then bundle exec.
#!/usr/bin/env bash
(bundle check || bundle --local) && bundle exec "$@"
@jlindley
Copy link
Author

Save as ~/bin/bundle-hack

alias b="bundle-hack"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment