Skip to content

Instantly share code, notes, and snippets.

@tapajos
Created December 5, 2011 14:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save tapajos/1433859 to your computer and use it in GitHub Desktop.
Save tapajos/1433859 to your computer and use it in GitHub Desktop.
function rake {
if [ -e Gemfile ]; then
bundle exec rake $@
else
`which rake` $@
fi
}
function rspec {
if [ -e Gemfile ]; then
bundle exec rspec $@
else
`which rspec` $@
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment