mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Try more times to fetch from rubygems.org
Of the last 14 build failures, 6 of them were because of bad_record_mac. Hopefully retrying more will work around this.
This commit is contained in:
parent
fd0073dfef
commit
ad6f681486
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ def install_gem(name, requirement, target)
|
|||
installer.options[:version] = requirement
|
||||
installer.options[:args] = [name]
|
||||
installer.options[:install_dir] = target
|
||||
|
||||
|
||||
# ruby 2.0.0 / rubygems 2.x; disable documentation generation
|
||||
installer.options[:document] = []
|
||||
begin
|
||||
|
@ -63,7 +63,7 @@ if RUBY_ENGINE == "rbx"
|
|||
end
|
||||
|
||||
# Try installing a few times in case we hit the "bad_record_mac" ssl error during installation.
|
||||
3.times do
|
||||
10.times do
|
||||
begin
|
||||
Bundler::CLI.start(["install", "--gemfile=tools/Gemfile", "--path", target, "--clean"])
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue