Browse Source

Add Rails 4 bin path

master
Erik Strömberg 11 years ago committed by Sorin Ionescu
parent
commit
cc4a58bee3
  1. 2
      modules/rails/init.zsh

2
modules/rails/init.zsh

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

Loading…
Cancel
Save