# One click installer + gems

**URL:** <https://www.ruby-forum.com/t/one-click-installer-gems/53420>\
**Category:** Ruby\
**Created:** [February 4, 2006, 7:16pm UTC](https://www.ruby-forum.com/t/one-click-installer-gems/53420 "2006-02-04T19:16:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 4, 2006, 7:16pm UTC](https://www.ruby-forum.com/t/one-click-installer-gems/53420/1 "2006-02-04T19:16:07Z")

</div>

Hi!

It was expected, that as of 1.8.4, ruby networking works on windows.  
However using the latest installer, when I tried to install a gem  
(actually rails), the gem process failed.

So is there anybody having the same problem, or can everbybody else  
install gems under XP?

thx

Gergo

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 4, 2006, 9:14pm UTC](https://www.ruby-forum.com/t/one-click-installer-gems/53420/2 "2006-02-04T21:14:43Z")

</div>

On 2/4/06, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi!
> 
> It was expected, that as of 1.8.4, ruby networking works on windows.  
> However using the latest installer, when I tried to install a gem  
> (actually rails), the gem process failed.
> 
> So is there anybody having the same problem, or can everbybody else  
> install gems under XP?

I don’t have any problem.

Are you behind a proxy server? Specifically, what error messages are  
you getting?

Curt

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 4, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/one-click-installer-gems/53420/3 "2006-02-04T22:04:14Z")

</div>

No error message.  
When I say: gem install rails, the last line I get is:  
Attempting remote installation of ‘rails’

I connect the internet via a router.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 4, 2006, 11:02pm UTC](https://www.ruby-forum.com/t/one-click-installer-gems/53420/4 "2006-02-04T23:02:07Z")

</div>

Additional problems:

cannot ping [gems.rubyforge.org](http://gems.rubyforge.org)

The test script:  
require ‘socket’

hostname = ARGV[0]  
puts “Making socket to #{hostname}”  
sock = TCPSocket.new(hostname, 80)  
mesg = “GET / HTTP/1.1\r\nHost: #{hostname}\r\n\r\n”  
puts "writing to socket #{hostname}: " + mesg  
sock.write mesg  
puts “Wow, no hang!”

hangs on [www.google.com](http://www.google.com)

Anyway, my internet connection seems to be ok…

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 5, 2006, 12:56am UTC](https://www.ruby-forum.com/t/one-click-installer-gems/53420/5 "2006-02-05T00:56:26Z")

</div>

On 2/4/06, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> mesg = “GET / HTTP/1.1\r\nHost: #{hostname}\r\n\r\n”  
> puts "writing to socket #{hostname}: " + mesg  
> sock.write mesg  
> puts “Wow, no hang!”
> 
> hangs on [www.google.com](http://www.google.com)
> 
> Anyway, my internet connection seems to be ok…

How can you say your internet connection is ok when you can’t get to  
google? I can get to google and I can ping [gems.rubyforge.org](http://gems.rubyforge.org) – there  
is defintiely something wrong with your internet connection.

Curt

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 5, 2006, 12:56am UTC](https://www.ruby-forum.com/t/one-click-installer-gems/53420/6 "2006-02-05T00:56:26Z")

</div>

On Sun, Feb 05, 2006 at 08:35:00AM +0900, Curt H. wrote:

> > puts “Wow, no hang!”
> > 
> > hangs on [www.google.com](http://www.google.com)
> > 
> > Anyway, my internet connection seems to be ok…
> 
> How can you say your internet connection is ok when you can’t get to  
> google? I can get to google and I can ping [gems.rubyforge.org](http://gems.rubyforge.org) – there  
> is defintiely something wrong with your internet connection.

I think he was hinting that the problem lies in Ruby’s TCPSocket…  
See [145244] for instance.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 5, 2006, 2:15am UTC](https://www.ruby-forum.com/t/one-click-installer-gems/53420/7 "2006-02-05T02:15:13Z")

</div>

I’ve read that 6 month old post, but don’t know what to do.  
So how to resolve?

thx

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 6, 2006, 1:09am UTC](https://www.ruby-forum.com/t/one-click-installer-gems/53420/8 "2006-02-06T01:09:03Z")

</div>

I can of course connect to google with other methods…
