зеркало из https://github.com/github/ruby.git
support ruby 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a54aae45a6
Коммит
943a05d234
|
@ -8,8 +8,9 @@ class Downloader
|
|||
end
|
||||
|
||||
class RubyGems < self
|
||||
def self.download(name, *rest)
|
||||
super("https://rubygems.org/downloads/#{name}", name, *rest, :ssl_ca_cert => Dir.glob(File.expand_path("../lib/rubygems/ssl_certs/*.pem", File.dirname(__FILE__))))
|
||||
def self.download(url, name, dir = nil, ims = true, options = {})
|
||||
options[:ssl_ca_cert] = Dir.glob(File.expand_path("../lib/rubygems/ssl_certs/*.pem", File.dirname(__FILE__)))
|
||||
super("https://rubygems.org/downloads/#{name}", name, dir, ims. options)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче