提交 f6dbe212 编写于 作者: R Robby Russell

Merge pull request #1672 from miry/rails3_command_fix

Use new style of rails command.
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册