one click installer + gems

P

pihentagy

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
 
C

Curt Hibbs

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
 
P

pihentagy

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.
 
P

pihentagy

Additional problems:

cannot ping 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

Anyway, my internet connection seems to be ok...
 
C

Curt Hibbs

Additional problems:

cannot ping gems.rubyforge.org

The test script:
require 'socket'

hostname =3D ARGV[0]
puts "Making socket to #{hostname}"
sock =3D TCPSocket.new(hostname, 80)
mesg =3D "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

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 -- there
is defintiely something wrong with your internet connection.

Curt
 
M

Mauricio Fernandez

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

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 -- 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.
 
P

pihentagy

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

thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top