mirror of https://github.com/ohmyzsh/ohmyzsh.git
Merge pull request #4729 from sachin21/update_rake_command_in_rails_plugin
Support bundlerpull/5130/head
commit
9e8f417dab
|
@ -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…
Reference in New Issue