From 65bf6279faec5b97bef81f2240f15372d7ba3321 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Tue, 27 Sep 2011 15:53:08 -0500 Subject: [PATCH] Always set RBENV_DIR in ruby-local-exec --- bin/ruby-local-exec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 "$@"