Use new style of rails command.

master
Michael Nikitochkin 13 years ago
parent 22f827e122
commit 2916ef7194
  1. 6
      plugins/rails3/rails3.plugin.zsh

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

Loading…
Cancel
Save