Skip to content

Instantly share code, notes, and snippets.

@jlindley
Created January 18, 2012 21:34
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jlindley/1635844 to your computer and use it in GitHub Desktop.
Save jlindley/1635844 to your computer and use it in GitHub Desktop.
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