Commit 06659f7f authored by Satoshi Ohmori's avatar Satoshi Ohmori
Browse files

Support bundler

parent f558a460
......@@ -13,6 +13,8 @@ function _rails_command () {
function _rake_command () {
if [ -e "bin/rake" ]; then
bin/rake $@
elif type bundle &> /dev/null && [ -e "Gemfile" ]; then
bundle exec rake $@
else
command rake $@
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment