Created
October 20, 2011 12:55
-
-
Save scottwater/1301070 to your computer and use it in GitHub Desktop.
Easy bundle exec (I owe someone else credit for this).
This file contains 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 be { | |
if [[ -a Gemfile ]]; then | |
bundle exec $* | |
else | |
command $* | |
fi | |
} | |
alias heroku="be heroku" | |
alias rake="be rake" | |
alias guard="be guard" | |
alias powder="be powder" | |
alias rspec="be rspec" | |
alias r="be rails" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment