1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Add rbenv shims to PATH in upstart conf file

These days bundle is installed in the shims directory, so we need to have this
in the PATH for the upstart configuration to work.
This commit is contained in:
Ibrahim Awwal 2014-01-05 17:59:25 -08:00
parent f22dc61722
commit 283a5a6bdd

View file

@ -39,7 +39,7 @@ exec /bin/bash <<'EOT'
export HOME="$(eval echo ~$(id -un))"
if [ -d "$HOME/.rbenv/bin" ]; then
export PATH="$HOME/.rbenv/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"
elif [ -f /etc/profile.d/rvm.sh ]; then
source /etc/profile.d/rvm.sh
elif [ -f /usr/local/rvm/scripts/rvm ]; then