Always set RBENV_DIR in ruby-local-exec

This commit is contained in:
Sam Stephenson 2011-09-27 15:53:08 -05:00
parent 07815769ae
commit 65bf6279fa

View file

@ -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 "$@"