forked from extern/ohmyzsh
Use new style of rails command.
This commit is contained in:
parent
22f827e122
commit
2916ef7194
@ -4,7 +4,11 @@ function _rails_command () {
|
||||
if [ -e "script/server" ]; then
|
||||
ruby script/$@
|
||||
else
|
||||
ruby script/rails $@
|
||||
if [ -e "bin/rails" ]; then
|
||||
bin/rails $@
|
||||
else
|
||||
rails $@
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user