mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01: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 $@
|
||||
elif [ -e "bin/rake" ]; then
|
||||
bin/rake $@
|
||||
elif type bundle &> /dev/null && [ -e "Gemfile" ]; then
|
||||
elif type bundle &> /dev/null && ([ -e "Gemfile" ] || [ -e "gems.rb" ]); then
|
||||
bundle exec rake $@
|
||||
else
|
||||
command rake $@
|
||||
|
|
Loading…
Reference in a new issue