bye bye gemcutter
Starting a few hours ago, I have been getting this error doing almost anything with the gem command:
ERROR: While executing gem … (NoMethodError)
undefined method `request_uri’ for #<URI::Generic:0x3d49c332>
When running “gem update —system -V” I noticed that it failed when talking to gemcutter.org. And then I tried to go there and sure enough some smily blonde with a backpack seems to have taken over the site. So I guess it’s gone for good? At least now I know where to go to get a free credit report or cash advance.
So while “undefined method `request_uri’” is not exactly my first choice for verbiage to describe this kind of problem, just run this:
gem sources -r http://gemcutter.org
and problem solved… although I’ve never had to think about my gem sources before. Are there any good gem sources I should know about besides the two remaining defaults (rubyforge and github)?
Update: gemcutter.org is now redirecting to rubygems.org so the steps above should no longer be necessary.