Add Rails 4 bin path

main
Erik Strömberg 11 years ago committed by Sorin Ionescu
parent 3a5fff9c6d
commit cc4a58bee3

@ -38,6 +38,8 @@ alias rorx='_rails-command destroy'
function _rails-command {
if [[ -e "script/server" ]]; then
ruby script/"$@"
elif [[ -e "bin/rails" ]]; then
ruby bin/rails "$@"
else
ruby script/rails "$@"
fi

Loading…
Cancel
Save