fix gem_home setting in environment.rb

Fixes #2107
This commit is contained in:
Joao Duarte 2014-11-26 22:31:44 +00:00 committed by Jordan Sissel
parent eb8d54ee3a
commit 052bf6e1ab

View file

@ -40,7 +40,7 @@ module LogStash
def set_gem_paths!
require ::File.join(BUNDLE_DIR, "bundler", "setup.rb")
ENV["GEM_PATH"] = plugins_home
ENV["GEM_PATH"] = gem_home
ENV["GEM_HOME"] = plugins_home
Gem.paths = plugins_home
end