diff options
Diffstat (limited to 'lib/rubygems/config_file.rb')
-rw-r--r-- | lib/rubygems/config_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/config_file.rb b/lib/rubygems/config_file.rb index a4efed0f5a..c0d19dbfc2 100644 --- a/lib/rubygems/config_file.rb +++ b/lib/rubygems/config_file.rb @@ -458,7 +458,7 @@ if you believe they were disclosed to a third party. # Writes out this config file, replacing its source. def write - open config_file_name, 'w' do |io| + File.open config_file_name, 'w' do |io| io.write to_yaml end end |