rubygems/rubygems — pull request #224 by frantic (2011-12-04 11:02:11+00:00)
Title: Gem command doesn't crash if config file content is invalid

If gem config file (for example `~/.gemrc`) doesn't contain valid YAML hash, `gem` command crashes with error which is not very obvious:

......./rubygems/config_file.rb:187:in 'merge': can't convert String into Hash (TypeError)

I suggest adding warning about invalid gem config file content