mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
Always set RBENV_DIR in ruby-local-exec
This commit is contained in:
parent
07815769ae
commit
65bf6279fa
1 changed files with 1 additions and 5 deletions
|
@ -12,9 +12,5 @@
|
|||
# `cd` into the project first.
|
||||
|
||||
set -e
|
||||
|
||||
if [ -z "$RBENV_DIR" ]; then
|
||||
export RBENV_DIR="${1%/*}"
|
||||
fi
|
||||
|
||||
export RBENV_DIR="${1%/*}"
|
||||
exec ruby "$@"
|
||||
|
|
Loading…
Reference in a new issue