rubymine failing to load remote gems (Connection refused)

Does anyone else have this problem - i'm seeing it with rubymine 3.1 and 3.1.1 - happening under ubuntu 11.04. I'm connected to the internet via a wireless router. *NO* proxies defined or being used. Yet every time rubymine comes up or i try to start a new project etc, i get these error messages saying it's unable to load remote gems because of a Connection refused error. the specific URL it's trying is which i can get to in my browser just fine.

I double checked the settings in rubymine's http proxy. It's set up not to use a proxy all. I checked my ubuntu network proxy settings and those are set up not to use a proxy either.  

So i can't understand why the program consistently fails to connect. Here's the full error - it's repeated 3 times:

Failed to load remote gems
Errno::ECONNREFUSED: Connection refused - connect(2) (

Please check proxy settings and gem urls

Any suggestions would be greatly appreciated.

Comment actions Permalink

I think there is something wrong with  I can't even get there with a browser or wget...

yeti:~ bob$ wget
--2011-05-10 15:21:34--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2011-05-10 15:21:35 ERROR 403: Forbidden.

Comment actions Permalink

yeah i noticed that too - but the url for the gem itself works fine. I guess i dont understand the error message - is it complaining about the url for the gem which i am able to access just fine or for which as you pointed out is barfing ?

Comment actions Permalink

Were you able to get this issue fixed? If yes, could you please share the details?

Comment actions Permalink

Which rubygems version do you use? Try to update rubygems, most likely it will resolve the issue.


Please sign in to leave a comment.