Are you behind a HTTP proxy which requires authentication?
“gem help install” says there is a -p option for setting a HTTP proxy.
Perhaps you can also set the username/password in the URL, e.g. http://username:[email protected]:3128/
Posted viahttp://www.ruby-forum.com/.
Note, i’m having the same problem, and I did the instalation of new
Ruby instaler (1.8), it seemed to worked fine, but this has seriours
problems with some gems, in my case with Json gem (witch can’t
compile) and with Postgres-pr (witch having socket problems). I back
to the older one click instaler, and them instaled Rubygems 1.3.5
manually and all is working fine.
Note, i’m having the same problem, and I did the instalation of new
Ruby instaler (1.8), it seemed to worked fine, but this has seriours
problems with some gems, in my case with Json gem (witch can’t
compile) and with Postgres-pr (witch having socket problems). I back
to the older one click instaler, and them instaled Rubygems 1.3.5
manually and all is working fine.
TO solve the issue of the gems need compilation you should have
downloaded the DevKit: