From 283a5a6bddaa3badaa6443f95815ef4395e616aa Mon Sep 17 00:00:00 2001 From: Ibrahim Awwal Date: Sun, 5 Jan 2014 17:59:25 -0800 Subject: [PATCH] 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. --- tools/jungle/upstart/puma.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jungle/upstart/puma.conf b/tools/jungle/upstart/puma.conf index 66d61728..7130570e 100644 --- a/tools/jungle/upstart/puma.conf +++ b/tools/jungle/upstart/puma.conf @@ -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