diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 02:58:35 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 02:58:35 +0000 |
commit | 6ac7ac18b10830d61998d1f12d2b1da1f295a1ca (patch) | |
tree | 16e0369e6aa7aee5bbbf79ba3d5ceacb53084534 /lib/rubygems/ext/builder.rb | |
parent | e9b31c603db09f7d645964e48060b277e3bd4aab (diff) | |
download | ruby-6ac7ac18b10830d61998d1f12d2b1da1f295a1ca.tar.gz |
Merge RubyGems-2.7.5 from upstream.
Please see its details: http://blog.rubygems.org/2018/02/06/2.7.5-released.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/ext/builder.rb')
-rw-r--r-- | lib/rubygems/ext/builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/ext/builder.rb b/lib/rubygems/ext/builder.rb index a1619c97d7..eb9db199d5 100644 --- a/lib/rubygems/ext/builder.rb +++ b/lib/rubygems/ext/builder.rb @@ -212,7 +212,7 @@ EOF FileUtils.mkdir_p @spec.extension_dir - open destination, 'wb' do |io| io.puts output end + File.open destination, 'wb' do |io| io.puts output end destination end |