mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
rails: detect gems.rb in _rake_command (#8223)
This commit is contained in:
parent
6b6f2b6dfd
commit
74165aba4a
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function _rake_command () {
|
||||||
bin/stubs/rake $@
|
bin/stubs/rake $@
|
||||||
elif [ -e "bin/rake" ]; then
|
elif [ -e "bin/rake" ]; then
|
||||||
bin/rake $@
|
bin/rake $@
|
||||||
elif type bundle &> /dev/null && [ -e "Gemfile" ]; then
|
elif type bundle &> /dev/null && ([ -e "Gemfile" ] || [ -e "gems.rb" ]); then
|
||||||
bundle exec rake $@
|
bundle exec rake $@
|
||||||
else
|
else
|
||||||
command rake $@
|
command rake $@
|
||||||
|
|
Loading…
Reference in a new issue