Skip to content

Commit e32030d

Browse files
ekuboo100hsbt
authored andcommitted
Update mirror.rb
1 parent 20dbe0f commit e32030d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubygems/mirror.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def update_specs
4545
path = to(sf)
4646

4747
@fetcher.fetch(from(sfz), specz)
48-
open(path, 'wb') { |f| f << Gem::Util.gunzip(File.binread(specz)) }
48+
File.open(path, 'wb') { |f| f << Gem::Util.gunzip(File.binread(specz)) }
4949
end
5050
end
5151

0 commit comments

Comments
 (0)