mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -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.
|
# `cd` into the project first.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ -z "$RBENV_DIR" ]; then
|
|
||||||
export RBENV_DIR="${1%/*}"
|
export RBENV_DIR="${1%/*}"
|
||||||
fi
|
|
||||||
|
|
||||||
exec ruby "$@"
|
exec ruby "$@"
|
||||||
|
|
Loading…
Reference in a new issue