Skip to content

Commit

Permalink
MINOR: Prevent enviornment GEM_DIR and GEM_PATH from leaking into build
Browse files Browse the repository at this point in the history
Fixes #8896
  • Loading branch information
original-brownbear committed Dec 29, 2017
1 parent 6543b56 commit cd6d9c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/logstash.lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ setup_vendored_jruby() {
echo "If you are a developer, please run 'rake bootstrap'. Running 'rake' requires the 'ruby' program be available."
exit 1
fi
export GEM_HOME="${LOGSTASH_HOME}/vendor/bundle/jruby/2.3.0"
export GEM_PATH=${GEM_HOME}
}

setup() {
Expand Down

0 comments on commit cd6d9c3

Please sign in to comment.