Cryptic gem error message

I probably never noticed this before because I never happened to gem update without sudo prefixing the command on the iBook. I just accidentally did, though, and lo the - not so - informative message:

ERROR:  While executing gem ... (NoMethodError)
    undefined method `source_index' for #<Hash:0x283d464>

Not great…

One Response to “Cryptic gem error message”

  1. Dan Manges Says:

    Read this:
    http://weblog.rubyonrails.org/2007/2/6/in-case-you-re-having-trouble-installing-gems