mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-08 16:30:40 +01:00
Merge pull request #4729 from sachin21/update_rake_command_in_rails_plugin
Support bundler
This commit is contained in:
@@ -13,6 +13,8 @@ function _rails_command () {
|
|||||||
function _rake_command () {
|
function _rake_command () {
|
||||||
if [ -e "bin/rake" ]; then
|
if [ -e "bin/rake" ]; then
|
||||||
bin/rake $@
|
bin/rake $@
|
||||||
|
elif type bundle &> /dev/null && [ -e "Gemfile" ]; then
|
||||||
|
bundle exec rake $@
|
||||||
else
|
else
|
||||||
command rake $@
|
command rake $@
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user