« Return to Thread: Ruby Gems not updating; network error

Re: Ruby Gems not updating; network error

by Martin Krauskopf :: Rate this Message:

Reply to Author | View in Thread

F2Andy wrote:

> I am having a problem updating Ruby Gems through NetBeans. This is the error
> message:
>
> Nothing found: Network problem> Check NetBeans proxy settings.
> ERROR: While executing gem ... (Gem::RemoteSourceException) HTTP Response
> 407 fetching http://gems.rubyforge.org/yaml 
>
> I connect to the internet through a firewall and a proxy server, but this
> seems to be set up okay, as I can download and install plug-ins through
> NetBeans, and it uses identical settings. However, I can also navigate to
> http://gems.rubyforge.org/yaml and see the gems in my web browser.
>
> I am on WinXP SP2 and NetBeans 6.1, connecting through a Server 2003 proxy.

Hi,

when the NetBeans proxy is set we will set appropriately "HTTP_PROXY",
"http_proxy" environment variable for process which runs the 'gem' tool.
Nothing special there we just delegate to the underlying Gem tool. So
question is how whether it works for you from command line and if yes
how do you run.

You might also see what is exactly run by NetBeans and what environment
does it set by turning on logging:

   http://wiki.netbeans.org/FaqRubyNBLogging

So how it is from CLI?

Regards,

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Ruby Gems not updating; network error

LightInTheBox - Buy quality products at wholesale price