Skip to content

Commit

Permalink
Add Rails 4 bin path
Browse files Browse the repository at this point in the history
  • Loading branch information
apa512 authored and sorin-ionescu committed Nov 25, 2013
1 parent 3a5fff9 commit cc4a58b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/rails/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc4a58b

Please sign in to comment.