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
|
||||
RUBY_PATH="$(rbenv-which ruby)"
|
||||
echo "${RUBY_PATH%/*}"
|
||||
RUBY_PATH="${RUBY_PATH%/*}"
|
||||
echo "${RUBY_PATH%/bin}"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue