Skip to content

Instantly share code, notes, and snippets.

@jlindley
Created January 18, 2012 21:34
Show Gist options
  • Select an option

  • Save jlindley/1635844 to your computer and use it in GitHub Desktop.

Select an option

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