# File lib/rubygems/config_file.rb, line 241
  def write
    File.open config_file_name, 'w' do |fp|
      fp.write self.to_yaml
    end
  end