mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 20:43:48 -05:00
Always set RBENV_DIR in ruby-local-exec
This commit is contained in:
@@ -12,9 +12,5 @@
|
|||||||
# `cd` into the project first.
|
# `cd` into the project first.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
export RBENV_DIR="${1%/*}"
|
||||||
if [ -z "$RBENV_DIR" ]; then
|
|
||||||
export RBENV_DIR="${1%/*}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec ruby "$@"
|
exec ruby "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user