mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 19:33:35 +00: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