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

···

--
Posted via http://www.ruby-forum.com/.

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

Emmie Wawa 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

--
Posted via http://www.ruby-forum.com/\.

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

···

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

Emmie Wawa 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

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