Skip to content

Instantly share code, notes, and snippets.

@ktheory
Created September 11, 2011 21:46
Show Gist options
  • Save ktheory/1210168 to your computer and use it in GitHub Desktop.
Save ktheory/1210168 to your computer and use it in GitHub Desktop.
Never forget `bundle exec` before running rake again...
# In your ~/.bashrc:
do_rake () {
if [ -e Gemfile ]; then
bundle exec rake $@
else
rake $@
fi
}
alias rake='do_rake'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment