1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-12 13:33:45 -05:00

Fix rbenv prefix for system version

Should be `/usr` or `/usr/local`, not `/usr/bin` or `/usr/local/bin`
This commit is contained in:
Sam Stephenson
2012-12-12 21:40:05 -06:00
parent 9289af0132
commit 7fe9231e64

View File

@@ -16,7 +16,8 @@ fi
if [ "$RBENV_VERSION" = "system" ]; then if [ "$RBENV_VERSION" = "system" ]; then
RUBY_PATH="$(rbenv-which ruby)" RUBY_PATH="$(rbenv-which ruby)"
echo "${RUBY_PATH%/*}" RUBY_PATH="${RUBY_PATH%/*}"
echo "${RUBY_PATH%/bin}"
exit exit
fi fi