Fix rbenv prefix system

This commit is contained in:
Sam Stephenson 2011-09-13 12:37:29 -05:00
parent d50ce90a36
commit 43520db389

View file

@ -3,7 +3,7 @@ set -e
[ -n "$RBENV_DEBUG" ] && set -x
if [ -n "$1" ]; then
RBENV_VERSION="$1"
export RBENV_VERSION="$1"
elif [ -z "$RBENV_VERSION" ]; then
RBENV_VERSION="$(rbenv-version-name)"
fi