Cant install any gems - Connection refused

Maciej Mensfed's Avatar

Maciej Mensfed

03 Feb, 2013 09:51 AM

Hi guys, no matter what gem I want to install I always get the same error:

gem install rack-cache -v '1.2' --verbose -V
GET http://rubygems.org/specs.4.8.gz
301 Moved Permanently
GET https://rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz
200 OK
GET http://rubygems.org/latest_specs.4.8.gz
301 Moved Permanently
GET https://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4....
200 OK
Installing gem rack-cache-1.2
Downloading gem rack-cache-1.2.gem
GET http://rubygems.org/gems/rack-cache-1.2.gem
301 Moved Permanently
GET https://rubygems.org/gems/rack-cache-1.2.gem
302 Moved Temporarily
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNREFUSED: Connection refused - connect(2) (http://rubygems.org/gems/rack-cache-1.2.gem)

When I try to download it manually (from https) - I get an error:
wget https://rubygems.org/gems/rack-cache-1.2.gem
--2013-02-03 10:51:22-- https://rubygems.org/gems/rack-cache-1.2.gem Translacja rubygems.org (rubygems.org)... 54.245.255.174
Łączenie się z rubygems.org (rubygems.org)|54.245.255.174|:443... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 302 Moved Temporarily
Lokalizacja: https://bb-m.rubygems.org/gems/rack-cache-1.2.gem [podążanie]
--2013-02-03 10:51:23-- https://bb-m.rubygems.org/gems/rack-cache-1.2.gem Translacja bb-m.rubygems.org (bb-m.rubygems.org)... 199.91.171.93
Łączenie się z bb-m.rubygems.org (bb-m.rubygems.org)|199.91.171.93|:443... nieudane: Połączenie odrzucone.

Any idea wtf? :(

  1. Support Staff 2 Posted by Nick Quaranto on 20 Feb, 2013 01:36 AM

    Nick Quaranto's Avatar

    Is this still happening? Are you behind a firewall?

  2. 3 Posted by Maciej Mensfeld on 20 Feb, 2013 08:43 AM

    Maciej Mensfeld's Avatar

    Nope! :) It is fixed but can I know what happened? I'm not behind a firewall and it work like a charm (and works not like a charm). Thanks for fixing this!

  3. David Radcliffe closed this discussion on 12 Apr, 2013 12:16 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac