1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 23:30:08 +00:00

Use new style of rails command.

This commit is contained in:
Michael Nikitochkin 2013-03-25 18:57:55 +02:00
parent 22f827e122
commit 2916ef7194

View file

@ -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
}