Skip to content

Instantly share code, notes, and snippets.

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 "$@"
Copy link

jlindley commented Jan 18, 2012

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