mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -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:
parent
9289af0132
commit
7fe9231e64
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue