diff options
Diffstat (limited to 'lib/rubygems/source.rb')
-rw-r--r-- | lib/rubygems/source.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/source.rb b/lib/rubygems/source.rb index bd84c217a7..b28b850660 100644 --- a/lib/rubygems/source.rb +++ b/lib/rubygems/source.rb @@ -160,7 +160,7 @@ class Gem::Source if update_cache? then FileUtils.mkdir_p cache_dir - open local_spec, 'wb' do |io| + File.open local_spec, 'wb' do |io| io.write spec end end |