Gem::RemoteFetcher::FetchError

I would like to install mysql in ruby as i need to use mysql in rails
application…so this is the code in type in the command prompt in ruby
directory

gem install mysql

but i got these
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
getaddrinfo: no address associated with hostname.(SocketError)

How do i solve this problem. Really need help. Thanks

Wawa

looks like a dns problem. Make sure dns is working. Maybe use opendns
:slight_smile:
-R

Emmie W. wrote:

I would like to install mysql in ruby as i need to use mysql in rails
application…so this is the code in type in the command prompt in ruby
directory

gem install mysql

but i got these
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
getaddrinfo: no address associated with hostname.(SocketError)

How do i solve this problem. Really need help. Thanks

Wawa

On Jun 3, 2008, at 17:43 PM, Roger P. wrote:

getaddrinfo: no address associated with hostname.(SocketError)

How do i solve this problem. Really need help. Thanks

looks like a dns problem. Make sure dns is working. Maybe use
opendns
:slight_smile:

Also, check to see that all the URLs listed in gem sources -l resolve.

Visit www.idardarji.net for educational help

Thank You

On Wed, Jul 30, 2008 at 1:27 PM, Somani Anand
[email protected]wrote:

E:\ruby\bin>gem update --system


Thanks

Alpesh J Darji

www.kws.co.in

+91 982 0597 794

Think Different, Think Ahead, Think Fast !!!