Trouble installing mocha

I am trying to install mocha on my OS X MBP and when I use

sudo gem install mocha

I get this error:

ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: Operation timed out - connect(2) (http://
RubyGems.org | your community gem host)

I got it last night and thought maybe the service was down, but I get
the same error this morning.

Thanks in Advance,
Chas Lemley

Nevermind, I figured it out. I was having a DNS issue with my router.

On Tue, Jul 28, 2009 at 10:18 AM, [email protected] <