Ver código fonte

Fix `rbenv prefix` for `system` version

Should be `/usr` or `/usr/local`, not `/usr/bin` or `/usr/local/bin`
pull/360/head^2
Sam Stephenson 13 anos atrás
pai
commit
7fe9231e64
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      libexec/rbenv-prefix

+ 2
- 1
libexec/rbenv-prefix Ver arquivo

@ -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

Carregando…
Cancelar
Salvar