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:
Jordan Sissel 2014-02-28 11:56:43 -08:00
parent fd0073dfef
commit ad6f681486

View file

@ -63,7 +63,7 @@ if RUBY_ENGINE == "rbx"
end end
# Try installing a few times in case we hit the "bad_record_mac" ssl error during installation. # Try installing a few times in case we hit the "bad_record_mac" ssl error during installation.
3.times do 10.times do
begin begin
Bundler::CLI.start(["install", "--gemfile=tools/Gemfile", "--path", target, "--clean"]) Bundler::CLI.start(["install", "--gemfile=tools/Gemfile", "--path", target, "--clean"])
break break