From e32030d879b21ea492e070794662ace2bda28bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=B3=E3=83=89=E3=83=AA=E3=83=BC=E3=83=BB?= =?UTF-8?q?=E3=82=A2=E3=83=B3=E3=83=89=E3=83=AA?= Date: Fri, 8 Aug 2025 07:54:47 +0700 Subject: [PATCH] Update mirror.rb --- lib/rubygems/mirror.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rubygems/mirror.rb b/lib/rubygems/mirror.rb index 1e0af5e..024ef94 100644 --- a/lib/rubygems/mirror.rb +++ b/lib/rubygems/mirror.rb @@ -45,7 +45,7 @@ def update_specs path = to(sf) @fetcher.fetch(from(sfz), specz) - open(path, 'wb') { |f| f << Gem::Util.gunzip(File.binread(specz)) } + File.open(path, 'wb') { |f| f << Gem::Util.gunzip(File.binread(specz)) } end end