Support bundler

master
Satoshi Ohmori 11 years ago
parent f558a460c2
commit 06659f7fc1
  1. 2
      plugins/rails/rails.plugin.zsh

@ -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

Loading…
Cancel
Save