mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
560edd07ee
commit
6840da52f8
1 changed files with 6 additions and 1 deletions
|
@ -98,8 +98,13 @@ module LogStash
|
|||
require "logstash/bundler"
|
||||
|
||||
::Bundler.settings[:path] = LogStash::Environment::BUNDLE_DIR
|
||||
::Bundler.settings[:gemfile] = LogStash::Environment::GEMFILE_PATH
|
||||
::Bundler.settings[:without] = "development"
|
||||
|
||||
::Bundler.settings[:gemfile] = LogStash::Environment::GEMFILE_PATH
|
||||
# also set ENV because bundler does not check settings for :gemfile here
|
||||
# https://github.com/bundler/bundler/blob/v1.8.3/lib/bundler/shared_helpers.rb#L103
|
||||
ENV["BUNDLE_GEMFILE"] = LogStash::Environment::GEMFILE_PATH
|
||||
|
||||
::Bundler.reset!
|
||||
::Bundler.setup
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue