mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
11d34204f5
commit
b72b167161
3 changed files with 12 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -33,6 +33,9 @@ qa/.vm_ssh_config
|
||||||
qa/.vagrant
|
qa/.vagrant
|
||||||
qa/acceptance/.vagrant
|
qa/acceptance/.vagrant
|
||||||
qa/Gemfile.lock
|
qa/Gemfile.lock
|
||||||
|
Gemfile.jruby-1.9.lock
|
||||||
|
.lock
|
||||||
|
Gemfile
|
||||||
*.ipr
|
*.ipr
|
||||||
*.iws
|
*.iws
|
||||||
*.iml
|
*.iml
|
||||||
|
|
|
@ -95,6 +95,14 @@ module LogStash
|
||||||
|
|
||||||
require "bundler"
|
require "bundler"
|
||||||
require "bundler/cli"
|
require "bundler/cli"
|
||||||
|
|
||||||
|
# create Gemfile from template iff it does not exist
|
||||||
|
unless ::File.exists?(Environment::GEMFILE_PATH)
|
||||||
|
::FileUtils.copy(
|
||||||
|
::File.join(ENV["LOGSTASH_HOME"], "Gemfile.template"), Environment::GEMFILE_PATH
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
LogStash::Bundler.patch!
|
LogStash::Bundler.patch!
|
||||||
|
|
||||||
# force Rubygems sources to our Gemfile sources
|
# force Rubygems sources to our Gemfile sources
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue