From 3f1fc5e42b846f902a1dfc84766dd22b359b87c7 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 6 Apr 2016 08:40:02 +0000 Subject: * tool/downloader.rb (RubyGems.download): follow the change of the rubygems ssl_certs directory tree introduced by previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/downloader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool') diff --git a/tool/downloader.rb b/tool/downloader.rb index 5531eb2207..401a50f0c7 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -57,7 +57,7 @@ class Downloader def self.download(name, dir = nil, since = true, options = {}) require 'rubygems' require 'rubygems/package' - options[:ssl_ca_cert] = Dir.glob(File.expand_path("../lib/rubygems/ssl_certs/*.pem", File.dirname(__FILE__))) + options[:ssl_ca_cert] = Dir.glob(File.expand_path("../lib/rubygems/ssl_certs/**/*.pem", File.dirname(__FILE__))) file = under(dir, name) super("https://rubygems.org/downloads/#{name}", file, nil, since, options) or return false -- cgit v1.2.3