Commit 2916ef71 authored by Michael Nikitochkin's avatar Michael Nikitochkin
Browse files

Use new style of rails command.

parent 22f827e1
...@@ -4,7 +4,11 @@ function _rails_command () { ...@@ -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
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment