diff options
Diffstat (limited to 'tool/gem-unpack.rb')
-rwxr-xr-x | tool/gem-unpack.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tool/gem-unpack.rb b/tool/gem-unpack.rb index f069d144ec..0ddcea0704 100755 --- a/tool/gem-unpack.rb +++ b/tool/gem-unpack.rb @@ -5,10 +5,7 @@ require 'rubygems/package' # unpack bundled gem files. def Gem.unpack(file, dir = nil) - policy = Gem::Security::LowSecurity - (policy = policy.dup).ui = Gem::SilentUI.new pkg = Gem::Package.new(file) - pkg.security_policy = policy spec = pkg.spec target = spec.full_name target = File.join(dir, target) if dir |