Skip to content

Instantly share code, notes, and snippets.

@ajorgensen
Created May 21, 2014 21:21
Show Gist options
  • Save ajorgensen/5033c007362690d0ec03 to your computer and use it in GitHub Desktop.
Save ajorgensen/5033c007362690d0ec03 to your computer and use it in GitHub Desktop.
Automagically run bundle exec
for fname in 'rspec' 'rails'
do
eval "${fname}() { bundle exec ${fname} }"
eval "${fname}!() { ${fname} }"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment