Rails 3.0.3 - Error on Install

XXXXX-MacBook-Pro:cline xxxxxxx$ sudo gem install rails
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
    SocketError: getaddrinfo: nodename nor servname provided, or not
known (http://rubygems.org/gems/railties-3.0.3.gem)

Anyone else getting this?