diff options
Diffstat (limited to 'lib/rubygems/ext/builder.rb')
-rw-r--r-- | lib/rubygems/ext/builder.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rubygems/ext/builder.rb b/lib/rubygems/ext/builder.rb index f578e7feee..8276dd769a 100644 --- a/lib/rubygems/ext/builder.rb +++ b/lib/rubygems/ext/builder.rb @@ -240,7 +240,9 @@ EOF FileUtils.mkdir_p @spec.extension_dir - File.open destination, 'wb' do |io| io.puts output end + File.open destination, 'wb' do |io| + io.puts output + end destination end |