Created
February 9, 2012 16:01
-
-
Save sd/1780813 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function bundle_exec { | |
if [[ -a Gemfile ]]; then | |
bundle exec $* | |
else | |
$* | |
fi | |
} | |
alias rake="bundle_exec rake" | |
alias cap="bundle_exec cap" | |
alias spec="bundle_exec spec" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment