Commit f6dbe212 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #1672 from miry/rails3_command_fix

Use new style of rails command.
parents 39a5e36c 2916ef71
......@@ -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
}
......
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