diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-31 11:40:43 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-31 11:40:43 +0000 |
commit | 665ee6cd0356f09facdb5b218b5d1cf056d85811 (patch) | |
tree | 51b5bb4b07215ec6800b9d13fb50c06abe67aa45 /tool | |
parent | 48eb1aa5421a6dd5d535729ba769615a30b0e1a1 (diff) |
* tool/downloader.rb (Downloader::RubyGems.download): Gem::Security::*#ui= is
very new feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r-- | tool/downloader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb index 157561269d..c5f18f1f16 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -48,7 +48,7 @@ class Downloader super("#{$rubygems_schema}://rubygems.org/downloads/#{name}", file, nil, ims, options) or return false policy = Gem::Security::LowSecurity - (policy = policy.dup).ui = Gem::SilentUI.new + (policy = policy.dup).ui = Gem::SilentUI.new if policy.respond_to?(:'ui=') pkg = Gem::Package.new(file) pkg.security_policy = policy begin |