Go Back   CodingForums.com > :: Server side development > Ruby & Ruby On Rails

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-08-2007, 08:11 AM   PM User | #1
JygzIsHere
New Coder

 
Join Date: May 2005
Location: Cebu, Philippines
Posts: 46
Thanks: 1
Thanked 10 Times in 10 Posts
JygzIsHere is an unknown quantity at this point
Error in rails gem installation

Hello,

I tried to install rails on my machine, but I got the following errors:

C:\ruby\bin>gem install rails --remote
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
getaddrinfo: no address associated with hostname.(SocketError)

What should I do?

Thanks in advance.

-Jygz
JygzIsHere is offline   Reply With Quote
Old 11-08-2007, 03:38 PM   PM User | #2
ralph l mayo
Regular Coder

 
ralph l mayo's Avatar
 
Join Date: Nov 2005
Posts: 951
Thanks: 1
Thanked 31 Times in 29 Posts
ralph l mayo is on a distinguished road
Do you have any kind of firewall active? This could be caused I think by gem being denied access by some security software to contact the DNS server.

If you do have networking active with the gem executable, the only other thing I can think of is to run 'gem up --system' a time or two and then try again.
ralph l mayo is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:19 PM.


Advertisement
Log in to turn off these ads.