mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Use new style of rails command.
This commit is contained in:
parent
22f827e122
commit
2916ef7194
1 changed files with 5 additions and 1 deletions
|
|
@ -4,7 +4,11 @@ function _rails_command () {
|
||||||
if [ -e "script/server" ]; then
|
if [ -e "script/server" ]; then
|
||||||
ruby script/$@
|
ruby script/$@
|
||||||
else
|
else
|
||||||
ruby script/rails $@
|
if [ -e "bin/rails" ]; then
|
||||||
|
bin/rails $@
|
||||||
|
else
|
||||||
|
rails $@
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue