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

FIX: rbenv init when it's installed to /usr/local/rbenv

This commit is contained in:
Snow Helsing 2015-10-07 17:38:58 +08:00
parent 02204bd27a
commit c87a733d50

View file

@ -258,6 +258,7 @@ config_bundler() {
HOME="$(eval echo ~$(id -un))"
if [ -d "/usr/local/rbenv/bin" ]; then
PATH="/usr/local/rbenv/bin:/usr/local/rbenv/shims:$PATH"
eval "$(rbenv init -)"
USE_LOCAL_BUNDLE=1
return 0
elif [ -d "$HOME/.rbenv/bin" ]; then