We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20dbe0f commit e32030dCopy full SHA for e32030d
lib/rubygems/mirror.rb
@@ -45,7 +45,7 @@ def update_specs
45
path = to(sf)
46
47
@fetcher.fetch(from(sfz), specz)
48
- open(path, 'wb') { |f| f << Gem::Util.gunzip(File.binread(specz)) }
+ File.open(path, 'wb') { |f| f << Gem::Util.gunzip(File.binread(specz)) }
49
end
50
51
0 commit comments