1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 08:08:00 +00:00

Add Rails 4 bin path

This commit is contained in:
Erik Strömberg 2013-11-24 03:14:23 +01:00 committed by Sorin Ionescu
parent 3a5fff9c6d
commit cc4a58bee3

View File

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