diff --git a/bin/ruby-local-exec b/bin/ruby-local-exec index b1b5a5fa..a2064370 100755 --- a/bin/ruby-local-exec +++ b/bin/ruby-local-exec @@ -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 "$@"