Skip to content

Commit

Permalink
Detect path of rvm-shell bin
Browse files Browse the repository at this point in the history
  • Loading branch information
ayanko committed Oct 11, 2011
1 parent 5c90b9a commit 3854ee0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion passenger
Expand Up @@ -7,7 +7,11 @@
# Short-Description: manage multiple passenger instances
### END INIT INFO

RVM_SHELL="/usr/local/bin/rvm-shell"
RVM_SHELL="rvm-shell"

[ -x /usr/local/bin/rvm-shell ] && RVM_SHELL="/usr/local/bin/rvm-shell"

[ -x /usr/local/rvm/bin/rvm-shell ] && RVM_SHELL="/usr/local/rvm/bin/rvm-shell"

RVM_PATH="/usr/local/rvm"

Expand Down

0 comments on commit 3854ee0

Please sign in to comment.