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

Merge pull request #2421 from LFDM/rails_plugin_fix

Fixes _rails_command in new rails plugin
parents 7c95518f a6671919
function _rails_command () {
if [ -e "script/server" ]; then
ruby script/$@
if [ -e "bin/rails" ]; then
bin/rails $@
elif [ -e "script/rails" ]; then
ruby script/rails $@
elif [ -e "bin/rails" ]; then
bin/rails $@
elif [ -e "script/server" ]; then
ruby script/$@
else
rails $@
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