gem 2.0.3 Unable to download data from https://rubygems.org/ - ... bad ecpoint #515

Closed
rolme opened this Issue Mar 15, 2013 · 137 comments

Projects

None yet
rolme commented Mar 15, 2013

$ gem install rails
ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint (https://rubygems.org/latest_specs.4.8.gz)

$ gem -v
2.0.3

rolme commented Mar 15, 2013

$ gem install rails --source http://rubygems.org

This succeeds for the most part. Fails again when it tries to download rdocs from https://rubygems.org

Parsing documentation for rails-3.2.12
Installing ri documentation for rails-3.2.12
WARNING: Unable to pull data from 'https://rubygems.org/': SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint (https://rubygems.org/latest_specs.4.8.gz)
WARNING: Unable to pull data from 'https://rubygems.org/': SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint (https://rubygems.org/specs.4.8.gz)

Owner
drbrain commented Mar 15, 2013

Can you show $ ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION' and openssl s_client -showcerts -connect rubygems.org:https?

rolme commented Mar 15, 2013
$ ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.1c 10 May 2012"

$ openssl s_client -showcerts -connect rubygems.org:https
CONNECTED(00000003)
depth=1 /C=US/O=GeoTrust, Inc./CN=RapidSSL CA
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org
   i:/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
-----BEGIN CERTIFICATE-----
MIIFMDCCBBigAwIBAgIDCl4aMA0GCSqGSIb3DQEBBQUAMDwxCzAJBgNVBAYTAlVT
MRcwFQYDVQQKEw5HZW9UcnVzdCwgSW5jLj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=/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org
issuer=/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
---
No client certificate CA names sent
---
SSL handshake has read 2457 bytes and written 456 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : AES256-SHA
    Session-ID: 
    Session-ID-ctx: 
    Master-Key: 106BF472D7C2EC2AC17E1412DF5C87BB53F1A952BE4DF283B95CAAECA410EA2D06D653170495D61DD5C2E3D5781F14E7
    Key-Arg   : None
    Start Time: 1363382905
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---
read:errno=0
Owner
evanphx commented Mar 16, 2013

I've made a configuration change to rubygems.org. Could you try again?

rolme commented Mar 16, 2013

It is working great now thx!

@rolme rolme closed this Mar 16, 2013

Hello,
I've got a similar error

ERROR:  Could not find a valid gem 'pg' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 er
rno=0 state=SSLv2/v3 read server hello A (https://rubygems.org/latest_specs.4.8.gz)
ERROR:  Possible alternatives: pg

$ ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION' returns
"OpenSSL 1.0.0k 5 Feb 2013"

openssl s_client -showcerts -connect rubygems.org:https returns

getservbyname failure for https
usage: s_client args

 -host host     - use -connect instead
 -port port     - use -connect instead
 -connect host:port - who to connect to (default is localhost:4433)
 -verify depth - turn on peer certificate verification
 -cert arg     - certificate file to use, PEM format assumed
 -certform arg - certificate format (PEM or DER) PEM default
 -key arg      - Private key file to use, in cert file if
                 not specified but cert file is.
 -keyform arg  - key format (PEM or DER) PEM default
 -pass arg     - private key file pass phrase source
 -CApath arg   - PEM format directory of CA's
 -CAfile arg   - PEM format file of CA's
 -reconnect    - Drop and re-make the connection with the same Session-ID
 -pause        - sleep(1) after each read(2) and write(2) system call
 -showcerts    - show all certificates in the chain
 -debug        - extra output
 -msg          - Show protocol messages
 -nbio_test    - more ssl protocol testing
 -state        - print the 'ssl' states
 -nbio         - Run with non-blocking IO
 -crlf         - convert LF from terminal into CRLF
 -quiet        - no s_client output
 -ign_eof      - ignore input eof (default when -quiet)
 -no_ign_eof   - don't ignore input eof
 -ssl2         - just use SSLv2
 -ssl3         - just use SSLv3
 -tls1         - just use TLSv1
 -dtls1        - just use DTLSv1
 -mtu          - set the link layer MTU
 -no_tls1/-no_ssl3/-no_ssl2 - turn off that protocol
 -bugs         - Switch on all SSL implementation bug workarounds
 -serverpref   - Use server's cipher preferences (only SSLv2)
 -cipher       - preferred cipher to use, use the 'openssl ciphers'
                 command to see what is available
 -starttls prot - use the STARTTLS command before starting TLS
                 for those protocols that support it, where
                 'prot' defines which one to assume.  Currently,
                 only "smtp", "pop3", "imap", "ftp" and "xmpp"
                 are supported.
 -engine id    - Initialise and use the specified engine
 -rand file;file;...
 -sess_out arg - file to write SSL session to
 -sess_in arg  - file to read SSL session from
 -servername host  - Set TLS extension servername in ClientHello
 -tlsextdebug      - hex dump of all TLS extensions received
 -status           - request certificate status from server
 -no_ticket        - disable use of RFC4507bis session tickets
 -legacy_renegotiation - enable use of legacy renegotiation (dangerous)
monzou commented Mar 25, 2013

I've got a similar error on Windows.

$ gem install bundler
ERROR:  Could not find a valid gem 'bundler' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A (https:
//rubygems.org/latest_specs.4.8.gz)
$ ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.0k 5 Feb 2013"

My environments are following:

  • Windows 7 (x64)
  • Ruby Installer for Windows 1.9.3-p392
  • gem 2.0.3
@monzou monzou referenced this issue in oneclick/rubyinstaller Mar 25, 2013
Closed

gem unable to download data from https://rubygems.org/ #161

monzou commented Mar 25, 2013

I could solve the problem. There has been some temporary problems in my company network ... sorry for trouble.

Hello, I am having a similar problem:
I am trying the command: gem install rake -v '10.0.4'
I get the following error:
ERROR: Could not find a valid get 'rake' (= 10.0.4), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect trturned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/space.4.8.gz)

When I run:
ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
I get:
"OpenSSL 1.0.0j 10 May 2012"

When I run:
openssl s_client -showcerts -connect rubygems.org:https
The verify return code is 20 (unable to get local issuer certificate)

I have looked all over online and have tried different things... Any ideas?

EDIT:
Also, I am running ruby 1.9.3p327

This issue might have been closed a few days ago, but it's still happening today. Can't paste anything new that hasn't already been pasted in previous comments for this issue. What's up with rubygems?

Fixed my issue myself. I completely reinstalled my pc. Then when it came time to reinstall windows, I installed Ubuntu 12.10 instead lol. Now it works great.

This still happens.

Seriously, you should decrease the size of your windows partition, then install Ubuntu 12.10 on the new partition, and only use rails when you boot to linux. I've been doing that for almost 1 week now and things have been much smoother so far...

gonace commented Apr 3, 2013

This happens to me since I updated ruby. Using Mac OS X

donnrri commented Apr 3, 2013

Yes I just bought a mini-mac(Moutain Lion 10.8) and tried to install rails . I get the same error 👍

ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A (https://rubygems.org/latest_specs.4.8.gz)

Tried $gem install rails --source http://rubygems.org

Installed everything successfully

trevor commented Apr 8, 2013

This fixed it for me:

% wget http://production.cf.rubygems.org/rubygems/rubygems-update-2.0.3.gem
% gem install rubygems-update-2.0.3.gem
% update_rubygems
% gem --version
2.0.3
TimC-TMW commented Apr 9, 2013

Hi
I have just installed ruby ona win 7 box and also get this error:

ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://rubygems.org/latest_specs.4.8.gz)

My ruby version is 2.0.3, Any advice on how to fix this?

Thanks.

TimC-TMW commented Apr 9, 2013

Hi,

I have sort of fixed the issue by overriding the install parameters and settign the download to HTTP not HTTPS:

promtp>gem install bundler -r --source http://rubygems.org/
Fetching: bundler-1.3.5.gem (100%)
Successfully installed bundler-1.3.5
Installing ri documentation for bundler-1.3.5
WARNING: Unable to pull data from 'https://rubygems.org/': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (htt
ps://rubygems.org/latest_specs.4.8.gz)
1 gem installed

Hoping that i don't need to ri docs for now.

Cheers,
Tim.

Hi, I've started getting this error recently. Requested output follows:

~ $ ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.1c 10 May 2012"
~ $ openssl s_client -showcerts -connect rubygems.org:https
CONNECTED(00000003)
depth=1 /C=US/O=GeoTrust, Inc./CN=RapidSSL CA
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org
   i:/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
-----BEGIN CERTIFICATE-----
MIIFMDCCBBigAwIBAgIDCl4aMA0GCSqGSIb3DQEBBQUAMDwxCzAJBgNVBAYTAlVT
MRcwFQYDVQQKEw5HZW9UcnVzdCwgSW5jLjEUMBIGA1UEAxMLUmFwaWRTU0wgQ0Ew
HhcNMTMwMTMwMjA1NjE0WhcNMTcwMjAxMTk0MzA4WjCBvTEpMCcGA1UEBRMgUlJB
WGxkZ3pEclJaV1FwR282RkhkVEhWM3F3dndYdEQxEzARBgNVBAsTCkdUMzU4OTUx
NzQxMTAvBgNVBAsTKFNlZSB3d3cucmFwaWRzc2wuY29tL3Jlc291cmNlcy9jcHMg
KGMpMTMxLzAtBgNV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V63xEtZ/vNWfcNMFbPqjfWdY3SZiHTGSDHl5
HI7PynvBZq+odEj7joLCniyZXHstXZu8W1eefDp6E63yoxhbK1kPzVw662gzxigd
gtFQiwIDAQABo4HZMIHWMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUa2k9ahhC
St2PAmU5/TUkhniRFjAwHwYDVR0jBBgwFoAUwHqYaI2J+6sFZAwRfap9ZbjKzE4w
EgYDVR0TAQH/BAgwBgEB/wIBADA6BgNVHR8EMzAxMC+gLaArhilodHRwOi8vY3Js
Lmdlb3RydXN0LmNvbS9jcmxzL2d0Z2xvYmFsLmNybDA0BggrBgEFBQcBAQQoMCYw
JAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmdlb3RydXN0LmNvbTANBgkqhkiG9w0B
AQUFAAOCAQEAq7y8Cl0YlOPBscOoTFXWvrSY8e48HM3P8yQkXJYDJ1j8Nq6iL4/x
/torAsMzvcjdSCIrYA+lAxD9d/jQ7ZZnT/3qRyBwVNypDFV+4ZYlitm12ldKvo2O
SUNjpWxOJ4cl61tt/qJ/OCjgNqutOaWlYsS3XFgsql0BYKZiZ6PAx2Ij9OdsRu61
04BqIhPSLT90T+qvjF+0OJzbrs6vhB6m9jRRWXnT43XcvNfzc9+S7NIgWW+c+5X4
knYYCnwPLKbK3opie9jzzl9ovY8+wXS7FXI6FoOpC+ZNmZzYV+yoAVHHb1c0XqtK
LEL2TxyJeN4mTvVvk0wVaydWTQBUbHq3tw==
-----END CERTIFICATE-----
---
Server certificate
subject=/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org
issuer=/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
---
No client certificate CA names sent
---
SSL handshake has read 2987 bytes and written 328 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : DHE-RSA-AES256-SHA
    Session-ID:
    Session-ID-ctx:
    Master-Key: 5DA3DBCA49A92E55C4851A43AB44EED2477153CDA61E37522E62484813FB8BD5DC362A58920C6DCF9AEE65EA469E6B13
    Key-Arg   : None
    Start Time: 1365670718
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---
read:errno=0

Also got the error trying to install guard.

→ gem install guard
ERROR: Could not find a valid gem 'guard' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint (https://rubygems.org/latest_specs.4.8.gz)

A tip:
I noticed this happens only when using Ruby 2.0-p0

I'm using rvm, changed ruby to 1.9.3 and tried to install guard again, everything went fine.

Owner
evanphx commented Apr 11, 2013

You're getting that today?

Yup... here's a pic of just now.
http://cl.ly/ODf2

Owner
evanphx commented Apr 11, 2013

I've made a change to rubygems.org, could you try again?

Works now :D

Works for me now too, thanks.

simrb commented Apr 23, 2013

i get the same problem, obviously, that is network issue, install it with anther time. Everything is OK.

i have same problem, gem unable download form https://rubygems.org
i try gem install rails --source http://rubygems.org but not work.

give me this error:
ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) (https://rubygems.org/latest_specs.4.8.gz)

navarr commented May 13, 2013

Solution for those still encountering this problem: Upgrade to Ruby 2.0

@ghost
ghost commented May 21, 2013

Running Ruby 2.0.0p195, however, unable to install Sass. Error message: Unable to download data from https://rubygems.org/ _Errno::ETIMEDOUT: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) (https://rubygems.org/latest_specs.4.8.gz) I was able to download via browser, is there a command option for it to install from a local file?

dongli commented Jun 2, 2013

I also encounter the similar error:

$ gem install ruby-graphviz
ERROR:  Could not find a valid gem 'ruby-graphviz' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A (https://rubygems.org/latest_specs.4.8.gz)

gem install ruby-graphviz --source http://rubygems.org works.

I'm getting an error trying to install rails.

gem install rails
ERROR: Could not find a valid gem 'rails' (>=0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/latest_specs.4.8.gz)
ERROR: While executing gem ... (TypeError)
can't modify frozen object

I'm using ruby version 1.8.7 and gem version 2.0.3

casoetan commented Jun 5, 2013

just add --source http://rubygems.org to your installs. The issue most likely is with your internet connection.

Owner
drbrain commented Jun 5, 2013

@casoetan Switching to HTTP is dangerous. Switching to HTTP opens you to MITM attacks. Switching to HTTP allows hostile parties to replace gem contents with malicious contents. Switching to HTTP is not recommended.

The problem here is one of:

  • You are missing the appropriate certificates (2.0.1 and older have a bug preventing proper installation)
  • Your OpenSSL is out of date
  • You SSL connection has been intercepted

Knowing your OpenSSL version, (ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION') and RubyGems version will be helpful in diagnosing this problem.

Also, the output of openssl s_client -host rubygems.org -port 443 may be helpful.

@ghost
ghost commented Jun 6, 2013

Have the same problem while trying to install rspec:

ERROR:  Could not find a valid gem 'rspec' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) (https://rubygems.org/latest_specs.4.8.gz)

rvm 1.20.13 (stable)
ruby 2.0.0p195 (2013-05-14 revision 40734) [i686-linux]
gem 2.0.3

OpenSSL 1.0.1c 10 May 2012

openssl s_client -host rubygems.org -port 443 returns

CONNECTED(00000003)
depth=1 C = US, O = "GeoTrust, Inc.", CN = RapidSSL CA
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidS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IFoDAd
BgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwJwYDVR0RBCAwHoIOKi5ydWJ5
Z2Vtcy5vcmeCDHJ1YnlnZW1zLm9yZzBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8v
cmFwaWRzc2wtY3JsLmdlb3RydXN0LmNvbS9jcmxzL3JhcGlkc3NsLmNybDAdBgNV
HQ4EFgQU2Czq+nFLhWXI839ux9DNgKsb3vYwDAYDVR0TAQH/BAIwADB4BggrBgEF
BQcBAQRsMGowLQYIKwYBBQUHMAGGIWh0dHA6Ly9yYXBpZHNzbC1vY3NwLmdlb3Ry
dXN0LmNvbTA5BggrBgEFBQcwAoYtaHR0cDovL3JhcGlkc3NsLWFpYS5nZW90cnVz
dC5jb20vcmFwaWRzc2wuY3J0MEwGA1UdIARFMEMwQQYKYIZIAYb4RQEHNjAzMDEG
CCsGAQUFBwIBFiVodHRwOi8vd3d3Lmdlb3RydXN0LmNvbS9yZXNvdXJjZXMvY3Bz
MA0GCSqGSIb3DQEBBQUAA4IBAQBMugSZ6+ISnmeDd66Q42kSyPXYkfxNTSzYWTIm
fdvI66/DFRJTYa/25vaP/gGidrN2UZa9wQm2/t2A5lZrNXneUNN4dVdr9868AjFp
pdXvu/w2Bl3BQv2Uo6FDbnM9g1OzBLMPvPjtksJ1ybkEAOihi0EijbzFNP5rNYJm
lYBwU3Z68ZOZk943JVq1sQsKol1QQAEo3KgGU2JWuSJTnglwZwidimikTkEA+FEe
EjeYVpQZ/PV6OdzfBCM2NTy7FIyg9k7z3j/MV73G/fsgTIvQWjcUAH2d7+35XJdt
VjXjeJH2lIMZXIVeAqxSSmeX4jHHdZePSEMgqa8DJ8kmmmOA
-----END CERTIFICATE-----
subject=/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org
issuer=/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
---
No client certificate CA names sent
---
SSL handshake has read 3187 bytes and written 440 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.1
    Cipher    : DHE-RSA-AES256-SHA
    Session-ID: 7E09A782CC73E3B6E8181C350F9AD60707954FDB75DB4AECCA57706E0650F1D8
    Session-ID-ctx: 
    Master-Key: 0DBBEE80905C666AA3445DD57F77B2AA8B75DA30EECE2F2CEF5F359FEFF940ED29A2ED6EF81AE46AE8DDC980D373540C
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 300 (seconds)
    TLS session ticket:
    0000 - 87 f1 d9 38 3c 1b ef 13-59 8f 3a 79 05 f6 41 a6   ...8<...Y.:y..A.
    0010 - ef 56 42 e0 3f e0 6a f3-9d 1c 69 eb 17 83 37 11   .VB.?.j...i...7.
    0020 - b1 84 ae a2 d0 24 5a 46-80 7a 75 4c fa 3b fb a6   .....$ZF.zuL.;..
    0030 - be 85 ed 76 31 2c c4 c4-41 cc c6 93 d3 9f 66 90   ...v1,..A.....f.
    0040 - c9 72 ef 0a 52 91 00 85-1d ab cb 38 e8 35 c8 8f   .r..R......8.5..
    0050 - f1 04 6b 81 ff 99 3e b9-d7 0f c9 1a f3 6a be cf   ..k...>......j..
    0060 - 13 ea 57 8b 2e 6b ae 24-25 06 68 4d 08 dc 30 bb   ..W..k.$%.hM..0.
    0070 - 2a 90 0c 16 c0 a4 08 a8-02 d9 5d 4c 39 fa 63 ea   *.........]L9.c.
    0080 - 88 ba 2d da c3 e9 48 24-2e 33 69 42 d1 5a f0 8c   ..-...H$.3iB.Z..
    0090 - b0 27 3f 92 35 ea 16 90-cd 02 d1 1a 12 7a 4f 76   .'?.5........zOv

    Start Time: 1370549815
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
---
read:errno=0

I also get the similar error when install jquery-rails
ERROR: Could not find a valid gem 'jquery-rails' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://rubygems.org/latest_specs.4.8.gz)

I have encountered the same problem when trying to install or upgrade gems. I am using:

Mac OS X 10.8.4
Ruby 2.0.0-p195
RVM 1.21.2
gem 2.0.3
bundler 1.3.5

$ ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.1e 11 Feb 2013"

$ openssl s_client -showcerts -connect rubygems.org:https
CONNECTED(00000003)
depth=1 /C=US/O=GeoTrust, Inc./CN=RapidSSL CA
verify error:num=20:unable to get local issuer certificate
verify return:0
43677:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:/SourceCache/OpenSSL098/OpenSSL098-47.1/src/ssl/s23_lib.c:182:

sri85 commented Jul 3, 2013

I get a similiar issue when i am trying to install watir web driver

Got below mentioned error can some one please help me out :::
on executing =>gem install buildr --platform mswin32
ERROR: Could not find a valid gem 'buildr' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/latest_specs.4.8.gz)

Fonsan commented Jul 12, 2013

Having the same problem on 2 out of 3 identical ec2 instances

hello i am having the problem:
gem install guard
ERROR: Could not find a valid gem 'guard' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect SYSCA
LL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://rubygems.org/l
atest_specs.4.8.gz)
ERROR: Possible alternatives: guard

Output to the predefined commands

ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.0k 5 Feb 2013"

and
openssl s_client -host rubygems.org -port 443
"openssl" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
i am at Win7
ruby install: 2.0.0.0 p247
Thanks a lot for the help in advance

@evanphx - I am unable to install rails on my Win7 pc. Getting the following error, could you please help?

C:\Ruby200\bin>gem install rails --source http://rubygems.org
ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: No conn
ection could be made because the target machine actively refused it. - connect(2) (https://
rubygems.org/latest_specs.4.8.gz)

C:\Ruby200\bin>ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'
OpenSSL 1.0.0k 5 Feb 2013

Owner
drbrain commented Aug 13, 2013

@apurohit13 it looks like you have a firewall blocking your outbound connections.

Having the same problem, and the problem seems to be a certificate issue...
You can see this as follows:
C:\Users\me>gem install rails
ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)

C:\Users\me>wget https://rubygems.org/latest_specs.4.8.gz
--2013-08-14 12:28:56-- https://rubygems.org/latest_specs.4.8.gz
Resolving rubygems.org (rubygems.org)... 54.245.255.174
Connecting to rubygems.org (rubygems.org)|54.245.255.174|:443... connected.
ERROR: The certificate of rubygems.org' is not trusted. ERROR: The certificate ofrubygems.org' hasn't got a known issuer.

C:\Users\me>gem install rails --source http://rubygems.org/
ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)
Unable to download data from http://rubygems.org/ - no such name (http://rubygems.org/latest_specs.4.8.gz)

So, I am getting the same error, but this time wget works fine (not using ssl)
C:\Users\me>wget http://rubygems.org/latest_specs.4.8.gz
--2013-08-14 12:31:25-- http://rubygems.org/latest_specs.4.8.gz
Resolving rubygems.org (rubygems.org)... 54.245.255.174
...
2013-08-14 12:31:28 (239 KB/s) - `latest_specs.4.8.gz' saved [504015/504015]

In other words, wget can get to the file no problem, while gem can not. Seems to me this is a gem issue, not a network issue.

niceume commented Aug 15, 2013

@evanphx @tabinnorway
Did you solve the problem.

I use Windows 8.1 and just re-installed Ruby 2.0 for some reasons.
The same error appeared.
And I finally solved it by following the instruction in this link. ( https://gist.github.com/fnichol/867550 )

Short Instruction

  1. Install Ruby2.0 by RubyInstaller
  2. Install DevKit
  3. Download .pem file (The script in the link above download to C:\RubyInstaller\ )
  4. Set SSL_CERT_FILE (from Control Panel)
  5. Reboot (I don't know why but at first I couldn't make gem work by just setting the variable by "set SSL_CERT_FILE=C:\RailsInstaller\cacert.pem" )
  6. Ruby gem works fine !!
Member

@niceume

The weird part of this entire thing is that RubyGems does come with .pem for rubygems.org

I've tried this several times on a fresh Windows 7 and 8 installation without these issues 😕

epema commented Sep 30, 2013

@rolme, @navarr

I am trying to install rails 3.2.3 but no luck. Here is the cmd log:

[user@localhost redmine]$ rvm -v

rvm 1.22.14 (stable) by Wayne E. Seguin wayneeseguin@gmail.com, Michal Papis mpapis@gmail.com [https://rvm.io/]

[user@localhost redmine]$ ruby -v
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
[user@localhost redmine]$ gem -v
2.1.5
[user@localhost redmine]$ gem install rails -v 3.2.3
ERROR: Could not find a valid gem 'rails' (= 3.2.3), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/specs.4.8.gz)
ERROR: Possible alternatives: rails
[user@localhost redmine]$ gem install rails -v 3.2.3 --source http://rubygems.org
ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
no such name (https://rubygems.org/quick/Marshal.4.8/sprockets-2.1.3.gemspec.rz)
[user@localhost redmine]$ gem install rails -v 3.2.3 --source http://rubygems.org
ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
no such name (http://rubygems.org/quick/Marshal.4.8/i18n-0.6.5.gemspec.rz)

What could be the problem?

Thanks.

quastdog commented Oct 2, 2013

2013-10-02 17:30:51

ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)

Seems to be an ongoing issue.

rkrdo commented Oct 2, 2013

This is still happening, I'm using ruby ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0] and I'm getting this error message

$ gem install rails
ERROR:  Could not find a valid gem 'rails' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)

ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION' shows "OpenSSL 1.0.1e 11 Feb 2013"

and openssl s_client -showcerts -connect rubygems.org:https show this

vegasje commented Oct 2, 2013

See if this fixes the issue for you. I was getting the same error this morning, and it fixed my problem:
http://railsapps.github.io/openssl-certificate-verify-failed.html

rkrdo commented Oct 2, 2013

Thank you @vegasje, that fixed it!

weagley commented Oct 2, 2013

Thanks, @vegasje.

g1na1011 commented Oct 2, 2013

Thank you so much @vegasje! That fixed my problem!

quastdog commented Oct 3, 2013

Indeed, it worked for me. Muchas Gracias!

I've saved the link to the fix - hopefully I'll remember where in 12 months.

Thanks @vegasje very helpful. There should be a permanent solution to it, e.g. rvm automatically ask 'your ruby-xxx certificate is old, would you like to update? Run blah-blah-blah'. But that is a different forum anyway.

Thank you, @vegasje . My problem has been solved.

spovich commented Oct 3, 2013

+1 @vegasje That did it. OS X certs are out of date.

dxfl commented Oct 5, 2013

thank you so much @vesaje, I was getting crazy! :-)

@vegasje Thank you so much!! I was about to throw my macbook off the balcony, and I would've been very sad because it was quite expensive.

shazu14 commented Oct 8, 2013

Hi, I'm getting error while installing 'watir' gem

C:\Users\srilaag>gem install watir --no-ri --no-rdoc
ERROR: Could not find a valid gem 'watir' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)

C:\Users\srilaag>gem -v
2.1.5

C:\Users\srilaag>ruby -v
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]

I'm using windows 7

totty90 commented Oct 11, 2013

Still happened when installed "gem install foreman"
win 7 32bit,

ruby -v
ruby 1.9.2p180 (2011-02-18) [i386-mingw32]

ERROR: Could not find a valid gem 'foreman' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)

shazu14 commented Oct 11, 2013

I tried installing "watir-webdriver", but I'm getting the same error.

Owner
drbrain commented Oct 11, 2013

@totty90 @shazu14 this error is not "bad ecpoint", upgrade to the latest rubygems to fix it.

leogono commented Oct 12, 2013

this also happens to me but adding --source http://rubygems.org/ fixed it.

I had the same problem on Mac OSX (Mountain Lion)

I had rubygems version 2.0.6 on my system.

This way I could upgrade to rubygems 2.1.8:

$gem update --system --source http://rubygems.org/

Thanks, @acandael. That worked perfectly!

Thanks @acandael ! Saved me a lot of time 👍

shazu14 commented Oct 15, 2013

Thanks @drbrain @acandael :)
It worked.

Thanks @acandael ! Problem now solved!

Thanks @vegasje it worked like a charm

@ghost
ghost commented Oct 19, 2013

Thanks @acandael. Problem has been solved!

@acandael
gem update --system --source http://rubygems.org/ worked!
Seems rubygem had updates =P

Thank you.

rajashs commented Oct 30, 2013

Get the same error.

Still happened when installed "gem install watir"

win 7 64 bit,
ruby 2.0.0p247

ERROR: Could not find a valid gem 'watir' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)

Tried with --source http://rubygems.org/ with no success.

Help!!

@rajashs read the posts dude... acandael's answer fix that.

rajashs commented Oct 30, 2013

RaphaellDDL, I did try what acandel suggested & every option listed, still no success.
Any other way to solve this?

rajashs commented Oct 30, 2013

Here is the error I had:
ERROR: Could not find a valid gem 'watir' (>= 0), here is why:
unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz)

I did set the http proxy, but no success.

@rajashs Did you used gem update --system --source http://rubygems.org/ to update the rubygems? If after that still give you error when trying to install a gem, maybe it's because of the https / ssl.

Always use --source http://rubygems.org/ at the end of your command, for example:

gem install watir --source http://rubygems.org/

Probably has something to do with https , your proxy and/or isp.

TonyK54 commented Nov 2, 2013

+1 @vegasje.

I also updated gem and my 10.8.4 box is compiling what it once was complaining about.

Many thanks,

Tataniel commented Nov 2, 2013

Thank you @vegasje, this was the only real solution!

tuscland commented Nov 5, 2013

+1 for @vegasje, thanks!

larsbo commented Nov 5, 2013

@vegasje solution #515 (comment) works after reboot for me. 👍

  • Windows 8 64bit
  • MinGW
  • ruby 2.0.0p247 64bit
  • npm 1.3.11
lnfnunes commented Nov 6, 2013

Thanks @niceume it worked like a charm !!!

Windows 8.1
ruby 2.0.0p247
gem 2.0.3

Solution: #515 (comment)

This error is still occurring when trying to run the following command: "gem install cf"

"gem sources" shows that I have added the source as recommended above:

gem sources
*** CURRENT SOURCES ***

https://rubygems.org/
http://rubygems.org/

However, I now get the following error:

ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed      
(https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/cf-5.4.3.gemspec.rz)

Unfortunately, I can not do the same trick, using '--source http://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/cf-5.4.3.gemspec.rz' because that returns a 404 error:

Error fetching http://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/:
bad response Not Found 404 (http://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/specs.4.8.gz)

I can download the rz directly by going to 'http://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/specs.4.8.gz' in my browser. Then running, 'gem install --local ', returns the following error:
ERROR: Could not find a valid gem 'cf-5.4.3.gemspec.rz' (>= 0) in any repository

I have also run 'gem environment' and made sure that the local file is in the location where the gem path is pointing.

I'm attempting the following: http://docs.cloudfoundry.com/docs/using/managing-apps/cf/#installing

I have version 2.1.10 of gem on a windows 7 server.

Unable to download data from https://rubygems.org/

gem install rails -v 3.2.13

ERROR: Could not find a valid gem 'rails' (= 3.2.13), here is why:
Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) (https://rubygems.org/specs.4.8.gz)

@dmarcotte dmarcotte referenced this issue in dmarcotte/github-markdown-preview Jan 10, 2014
Closed

Unable to install gem #19

Ditto, all of the above.

I'm getting same error right now.
ERROR: Could not find a valid gem 'pg' (= 0.12.2), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://api.rubygems.org/specs.4.8.gz)

shaneog commented Feb 5, 2014

I'm getting this error now:
Gem::RemoteFetcher::FetchError: Errno::ETIMEDOUT: Connection timed out - connect(2) for "s3.amazonaws.com" port 443 (https://rubygems.org/gems/simple_xlsx_reader-0.9.8.gem)

I am currently getting this error message (using gem install heel --source http://rubygems.org):
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint (https://aws-eu-cache01.rubygems.org/quick/Marshal.4.8/heel-3.1.3.gemspec.rz)

I can make gems install from a project with a gemfile by switching to http in the file, and I can make gems install if I remove the https://rubygems.org as a a source globally. But I am not very sure this is something I want to be doing.

When i tried to install page object gem, i was getting below error
ERROR: Could not find a valid gem 'page-object' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: ce
.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)

After giving the below command, it solved the issue.
gem install page-object --source http://rubygems.org

I am getting the error as well. Here are the logs on machine:

ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.1f 6 Jan 2014"

openssl s_client -showcerts -connect rubygems.org:https
CONNECTED(00000003)
depth=1 /C=US/O=GeoTrust, Inc./CN=RapidSSL CA
verify error:num=20:unable to get local issuer certificate

verify return:0

Certificate chain
0 s:/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174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KZiZ6PAx2Ij9OdsRu61
04BqIhPSLT90T+qvjF+0OJzbrs6vhB6m9jRRWXnT43XcvNfzc9+S7NIgWW+c+5X4
knYYCnwPLKbK3opie9jzzl9ovY8+wXS7FXI6FoOpC+ZNmZzYV+yoAVHHb1c0XqtK
LEL2TxyJeN4mTvVvk0wVaydWTQBUbHq3tw==

-----END CERTIFICATE-----

Server certificate
subject=/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org

issuer=/C=US/O=GeoTrust, Inc./CN=RapidSSL CA

No client certificate CA names sent

SSL handshake has read 2987 bytes and written 328 bytes

New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : DHE-RSA-AES256-SHA
Session-ID:
Session-ID-ctx:
Master-Key: 49308839D7E98F95A088ACD8A7960B29998158156292AC9EA8670B247BA4F5ADCF5A418672BFBF47EA984DFAD29EEAEB
Key-Arg : None
Start Time: 1396114123
Timeout : 300 (sec)

Verify return code: 0 (ok)

<title>400 Bad Request</title>

400 Bad Request


nginx read:errno=0
ttting commented Jun 30, 2014

I'm getting this error now: ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation timed out - connect(2) (https://rubygems.org/latest_specs.4.8.gz)

simrb commented Jul 3, 2014

Me too

gem install nokogiri
ERROR: Could not find a valid gem 'nokogiri' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) for "s3.amazonaws.com" port 443 (https://api.rubygems.org/latest_specs.4.8.gz)

Same here

$ gem install rubygems-bundler
ERROR: Could not find a valid gem 'rubygems-bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) for "api.rubygems.org" port 443 (https://api.rubygems.org/latest_specs.4.8.gz)

$ rvm -v
rvm 1.25.28 (master) by Wayne E. Seguin wayneeseguin@gmail.com, Michal Papis mpapis@gmail.com [https://rvm.io/]

$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]

Running on a RHEL 6.4 VM.

Able to download manually

$ curl -O https://api.rubygems.org/latest_specs.4.8.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
154 154 154 154 0 0 80 0 0:00:01 0:00:01 --:--:-- 167

Contributor
TimMoore commented Jul 9, 2014

@codestark1715 I think that was a temporary issue with the dependency API server. Is it working now?

Still seeing the same issue.

$ gem install rubygems-bundler
ERROR: Could not find a valid gem 'rubygems-bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) for "api.rubygems.org" port 443 (https://api.rubygems.org/latest_specs.4.8.gz)

I dont have any issues accessing these resources using curl/wget. So was wondering if you still think that it is an issue with the ruby server.

Contributor

In that case, I wonder if you need to configure a proxy? http://rubyflewtoo.blogspot.com.au/2012/10/install-or-update-gems-behind-corporate.html

In any case, I don't think this is related to the original issue here. I'd recommend getting help on IRC.

Contributor

Also, it looks like the dependency API has had intermittent problems over the last day, so if it's not a proxy issue, it may help to just retry after a few minutes.

@TimMoore Thanks. It was the proxy issue. So past that but facing a new issue.

$ gem install rubygems-bundler --debug
Exception LoadError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/resolv.rb:169 - LoadError ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.gem/specs/api.rubygems.org%443
Exception IO::EAGAINWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - Resource temporarily unavailable - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception IO::EAGAINWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - Resource temporarily unavailable - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionOpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionIO::EAGAINWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - Resource temporarily unavailable - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionIO::EAGAINWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - Resource temporarily unavailable - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionIO::EAGAINWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - Resource temporarily unavailable - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionIO::EAGAINWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - Resource temporarily unavailable - read would block
Exception OpenSSL::SSL::SSLErrorWaitReadable' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package.rb:443 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a2c728> ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package.rb:419 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a312c8> ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package.rb:585 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a47c08> ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package.rb:586 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a47c08> ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package.rb:586 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a47c08> ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package.rb:586 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a47c08> ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package.rb:429 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a7f978> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.gem.config
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.gem.config ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.gem.config
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.gitignore
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.gitignore ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.gitignore
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.noexec.yaml
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.noexec.yaml ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.noexec.yaml
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.travis.yml
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.travis.yml ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/.travis.yml
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/CHANGELOG.md
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/CHANGELOG.md ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/CHANGELOG.md
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader/entry.rb:126 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a7f978> ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/Gemfile
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/Gemfile ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/Gemfile
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/LICENSE
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/LICENSE ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/LICENSE
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/README.md
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/README.md ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/README.md
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader/entry.rb:126 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a7f978> ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - No such file or directory @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2 ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/version.rb
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/version.rb ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/version.rb
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems_executable_plugin.rb
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems_executable_plugin.rb ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib/rubygems_executable_plugin.rb
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/lib ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/rubygems-bundler.gemspec
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/rubygems-bundler.gemspec ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/rubygems-bundler.gemspec
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader/entry.rb:126 - undefined method readpartial' for #<Gem::Package::TarReader::Entry:0x00000004a7f978> ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/binary_comment_test.sh
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/binary_comment_test.sh ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/binary_comment_test.sh
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - No such file or directory @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2 ExceptionErrno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4 ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/bundler_comment_test.sh
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/bundler_comment_test.sh ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/bundler_comment_test.sh
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/rails_and_gemfile_comment_test.sh
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/rails_and_gemfile_comment_test.sh ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/rails_and_gemfile_comment_test.sh
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method seek' for #<Zlib::GzipReader:0x00000004a7f900> ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/rubygems_comment_test.sh
Exception Errno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1334 - No such file or directory @ rb_file_s_lstat - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/rubygems_comment_test.sh ExceptionErrno::ENOENT' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:1454 - No such file or directory @ unlink_internal - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf/rubygems_comment_test.sh
Exception Errno::EEXIST' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/fileutils.rb:250 - File exists @ dir_s_mkdir - /users/ramjay/.rvm/gems/ruby-2.1.2/gems/rubygems-bundler-1.4.4/test/dtf ExceptionNoMethodError' at /users/ramjay/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:71 - undefined method `seek' for #Zlib::GzipReader:0x00000004a7f900
Successfully installed rubygems-bundler-1.4.4
Using Ext extension for JSON.
Parsing documentation for rubygems-bundler-1.4.4
Done installing documentation for rubygems-bundler after 0 seconds
1 gem installed

$ ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.0 29 Mar 2010"

$ openssl s_client -host rubygems.org -port 443
socket: Connection timed out
connect:errno=110

Contributor

Sorry, @codestark1715 but the comment thread for this closed, unrelated issue is really not the right place to seek this kind of support. Please try #rubygems on Freenode IRC or Stack Overflow.

got this also

Yes, I am getting this error on CentOS 6.5 fresh install as well as Ubuntu 14.04.

noinput commented Jul 27, 2014

a gem system update may be needed gem update --system

@jeffrafter jeffrafter referenced this issue in presidentbeef/brakeman Aug 6, 2014
Merged

Use https in the Gemfile #533

I am getting the error on OS X 10.9.4
Any ideas?

sharmag commented Aug 21, 2014

Try installing changing you network, (connect some other network and then try installing gems)

if i download the latest_specs.4.8.gz file how to compile it or which folder should I put.and why i need the latest_spaces.4.8 file

In my case, it was the firewall that blocked gem.

Hi:
when I use "gem install bundler"
get
> ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
> Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation timed
> out - connect(2) (https://rubygems.org/latest_specs.4.8.gz)
> gem install bundler^CERROR: Interrupted

And my env is:
ruby @2.0.0p48
mac @10.9.5

Hi, on Ubuntu...

ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - sendto(2) for "8.8.4.4" port 53

I got this error

gem install uglifier -v '2.5.3'
ERROR: While executing gem ... (OpenSSL::SSL::SSLError)
SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A

Getting this error

ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Connection refused - connect(2) (https://rubygems.org/latest_specs.4.8.gz)

@msvel mine was network issue. check if your network is good.
if its not the network append --source http://rubygems.org/ to it and try.

PrajktaP commented Nov 5, 2014

@msvel I had this issue long back.. try changing https to http and see.

So how would you change https when using the command "gem install uglifier
-v '2.5.3'" ?

On 5 November 2014 11:09, PrajktaP notifications@github.com wrote:

@msvel https://github.com/msvel I had this issue long back.. try
changing https to http and see.


Reply to this email directly or view it on GitHub
#515 (comment).

yckart commented Dec 2, 2014

Similar problem here:

$ gem update --system
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
Member

@yckart please refer to the following guide to manually add the trust certificate to RubyGems.

https://gist.github.com/luislavena/f064211759ee0f806c88

Hi, similar problem while executing gem install sass.

ERROR: Could not find a valid gem 'sass' <>= 0>, here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed < https://api.rubygems.org/latest_specs.4.8.gz>

Member

@atalanta-git please read above response: #515 (comment)

How do i fix this erorr:

gem install redcarpet -v 3.2.0
ERROR: Could not find a valid gem 'redcarpet' (= 3.2.0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://rubygems.org/specs.4.8.gz)

C:\Users\Design\Dropbox\onderhanden\design user herontwerp_0000b_marketing_Blog>
bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/........
Using blankslate 2.1.2.4
Using sass 3.4.7
Using thor 0.19.1
Using bourbon 4.0.2
Using hitimes 1.2.2
Using timers 4.0.1
Using celluloid 0.16.0
Using fast-stemmer 1.0.2
Using classifier-reborn 2.0.2
Using coffee-script-source 1.8.0
Using execjs 2.2.2
Using coffee-script 2.3.0
Using colorator 0.1
Using ffi 1.9.6
Using jekyll-coffeescript 1.0.1
Using jekyll-gist 1.1.0
Using jekyll-paginate 1.1.0
Using jekyll-sass-converter 1.2.1
Using rb-fsevent 0.9.4
Using rb-inotify 0.9.5
Using listen 2.7.11
Using jekyll-watch 1.1.2
Using kramdown 1.5.0
Using liquid 2.6.1
Using mercenary 0.3.4
Using posix-spawn 0.3.9
Using yajl-ruby 1.1.0
Using pygments.rb 0.6.0

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed (https://rubygems.org/gems/redca
rpet-3.2.0.gem)
An error occurred while installing redcarpet (3.2.0), and Bundler cannot
continue.
Make sure that gem install redcarpet -v '3.2.0' succeeds before bundling.

C:\Users\Design\Dropbox\onderhanden\design user herontwerp_0000b_marketing_Blog>
gem install redcarpet -v 3.2.0
ERROR: Could not find a valid gem 'redcarpet' (= 3.2.0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://rubygems.org/specs.4.8.gz)

C:\Users\Design\Dropbox\onderhanden\design user herontwerp_0000b_marketing_Blog>

Member

Please search already closed issues for the ssl error " certificate verify
failed"

Sorry for top posting. Sent from mobile.
On Dec 6, 2014 11:59 AM, "smadakcir" notifications@github.com wrote:

How do i fix this erorr:

gem install redcarpet -v 3.2.0
ERROR: Could not find a valid gem 'redcarpet' (= 3.2.0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify
failed (
https://rubygems.org/specs.4.8.gz)

C:\Users\Design\Dropbox\onderhanden\design user
herontwerp_0000b_marketing_Blog>
bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/........
Using blankslate 2.1.2.4
Using sass 3.4.7
Using thor 0.19.1
Using bourbon 4.0.2
Using hitimes 1.2.2
Using timers 4.0.1
Using celluloid 0.16.0
Using fast-stemmer 1.0.2
Using classifier-reborn 2.0.2
Using coffee-script-source 1.8.0
Using execjs 2.2.2
Using coffee-script 2.3.0
Using colorator 0.1
Using ffi 1.9.6
Using jekyll-coffeescript 1.0.1
Using jekyll-gist 1.1.0
Using jekyll-paginate 1.1.0
Using jekyll-sass-converter 1.2.1
Using rb-fsevent 0.9.4
Using rb-inotify 0.9.5
Using listen 2.7.11
Using jekyll-watch 1.1.2
Using kramdown 1.5.0
Using liquid 2.6.1
Using mercenary 0.3.4
Using posix-spawn 0.3.9
Using yajl-ruby 1.1.0
Using pygments.rb 0.6.0

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3
read
server certificate B: certificate verify failed (
https://rubygems.org/gems/redca
rpet-3.2.0.gem)
An error occurred while installing redcarpet (3.2.0), and Bundler cannot
continue.
Make sure that gem install redcarpet -v '3.2.0' succeeds before bundling.

C:\Users\Design\Dropbox\onderhanden\design user
herontwerp_0000b_marketing_Blog>
gem install redcarpet -v 3.2.0
ERROR: Could not find a valid gem 'redcarpet' (= 3.2.0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify
failed (
https://rubygems.org/specs.4.8.gz)

C:\Users\Design\Dropbox\onderhanden\design user
herontwerp_0000b_marketing_Blog>

Reply to this email directly or view it on GitHub
#515 (comment).

I'm not that good at ruby but getting the same error trying to install gem
scss I did apt-get install scss and that seemed to work nicely

On 6 December 2014 at 18:36, Luis Lavena notifications@github.com wrote:

Please search already closed issues for the ssl error " certificate verify
failed"

Sorry for top posting. Sent from mobile.

On Dec 6, 2014 11:59 AM, "smadakcir" notifications@github.com wrote:

How do i fix this erorr:

gem install redcarpet -v 3.2.0
ERROR: Could not find a valid gem 'redcarpet' (= 3.2.0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify
failed (
https://rubygems.org/specs.4.8.gz)

C:\Users\Design\Dropbox\onderhanden\design user
herontwerp_0000b_marketing_Blog>
bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/........
Using blankslate 2.1.2.4
Using sass 3.4.7
Using thor 0.19.1
Using bourbon 4.0.2
Using hitimes 1.2.2
Using timers 4.0.1
Using celluloid 0.16.0
Using fast-stemmer 1.0.2
Using classifier-reborn 2.0.2
Using coffee-script-source 1.8.0
Using execjs 2.2.2
Using coffee-script 2.3.0
Using colorator 0.1
Using ffi 1.9.6
Using jekyll-coffeescript 1.0.1
Using jekyll-gist 1.1.0
Using jekyll-paginate 1.1.0
Using jekyll-sass-converter 1.2.1
Using rb-fsevent 0.9.4
Using rb-inotify 0.9.5
Using listen 2.7.11
Using jekyll-watch 1.1.2
Using kramdown 1.5.0
Using liquid 2.6.1
Using mercenary 0.3.4
Using posix-spawn 0.3.9
Using yajl-ruby 1.1.0
Using pygments.rb 0.6.0

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0
state=SSLv3
read
server certificate B: certificate verify failed (
https://rubygems.org/gems/redca
rpet-3.2.0.gem)
An error occurred while installing redcarpet (3.2.0), and Bundler cannot
continue.
Make sure that gem install redcarpet -v '3.2.0' succeeds before bundling.

C:\Users\Design\Dropbox\onderhanden\design user
herontwerp_0000b_marketing_Blog>
gem install redcarpet -v 3.2.0
ERROR: Could not find a valid gem 'redcarpet' (= 3.2.0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify
failed (
https://rubygems.org/specs.4.8.gz)

C:\Users\Design\Dropbox\onderhanden\design user
herontwerp_0000b_marketing_Blog>

Reply to this email directly or view it on GitHub
#515 (comment).


Reply to this email directly or view it on GitHub
#515 (comment).

suffering from same error on WIndows Machine
It is fixed by
Adding --source as given in previous comments

@bhallaheemanshu Not really a fix if you're completely by-passing the SSL certification verification by not using SSL at all... I would call it a workaround instead...

I have the same issue:

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=unknown state: certificate verify failed (https://rubygems.global.ssl.fastly.net/gems/[insert random gem].gem)

This occurs RANDOMLY. Easily demonstrated by trying something like bundler install, it will fail at a random gem, but repeated attempts at bundler install will eventually install everything.

# ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.1j 15 Oct 2014"
# openssl s_client -showcerts -connect rubygems.org:https
CONNECTED(00000003)
depth=2 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Authority
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.rubygems.org
   i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
-----BEGIN CERTIFICATE-----
MIIFUzCCBDugAwIBAgIRAPLaUGqN5nvAm5oy7tfh3dEwDQYJKoZIhvcNAQELBQAw
gZAxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMTYwNAYD
VQQDEy1DT01P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HkwdzBPBggrBgEFBQcwAoZDaHR0cDovL2NydC5jb21v
ZG9jYS5jb20vQ09NT0RPUlNBRG9tYWluVmFsaWRhdGlvblNlY3VyZVNlcnZlckNB
LmNydDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuY29tb2RvY2EuY29tMCcGA1Ud
EQQgMB6CDioucnVieWdlbXMub3JnggxydWJ5Z2Vtcy5vcmcwDQYJKoZIhvcNAQEL
BQADggEBAFFnezsXS+fBqJDiFdwbPkT9Hdn+cc2OqrJTP5GaPH3hnGc1tn5v5QVB
+s0Uuoil/RiLRs4PzRlZiVZN86iY6GLxd8fkoeNMfdaH0i7i0lXJDz/qIdboPfxc
2T0oTBJufxvLCeNOFgl5aKus5HD/mnKoD1hGEOBJjulUwn09n8PMFnXmAnDVZ3Tv
6PltYiH4OadktplNR8oBB55Kn0ffYgIfofL9Mr2iCJlTvxMEpIRAe6NIs2r8InEJ
CnoNbAXUBuqOjgiiYNLvDrv3usj15Yv8xRMn9pyxA14i6HSyf5LwrLWPWhhV3YJ7
R+n4EAYack3mCZb2TZ8FwoS05OKhbw8=
-----END CERTIFICATE-----
 1 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
   i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority
-----BEGIN CERTIFICATE-----
MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUim7bo3yMBzANBgkqhkiG9w0BAQwFADCB
hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV
BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQwMjEy
MDAwMDAwWhcNMjkwMjExMjM1OTU5WjCBkDELMAkGA1UEBhMCR0IxG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KoZIhvcNAQEMBQADggIBAE4rdk+SHGI2ibp3wScF9BzWRJ2p
mj6q1WZmAT7qSeaiNbz69t2Vjpk1mA42GHWx3d1Qcnyu3HeIzg/3kCDKo2cuH1Z/
e+FE6kKVxF0NAVBGFfKBiVlsit2M8RKhjTpCipj4SzR7JzsItG8kO3KdY3RYPBps
P0/HEZrIqPW1N+8QRcZs2eBelSaz662jue5/DJpmNXMyYE7l3YphLG5SEXdoltMY
dVEVABt0iN3hxzgEQyjpFv3ZBdRdRydg1vs4O2xyopT4Qhrf7W8GjEXCBgCq5Ojc
2bXhc3js9iPc0d1sjhqPpepUfJa3w/5Vjo1JXvxku88+vZbrac2/4EjxYoIQ5QxG
V/Iz2tDIY+3GH5QFlkoakdH368+PUq4NCNk+qKBR6cGHdNXJ93SrLlP7u3r7l+L4
HyaPs9Kg4DdbKDsx5Q5XLVq4rXmsXiBmGqW5prU5wfWYQ//u+aen/e7KJD2AFsQX
j4rBYKEMrltDR5FL1ZoXX/nUh8HCjLfn4g8wGTeGrODcQgPmlKidrv0PJFGUzpII
0fxQ8ANAe4hZ7Q7drNJ3gjTcBpUC2JD5Leo31Rpg0Gcg19hCC0Wvgmje3WYkN5Ap
lBlGGSW4gNfL1IYoakRwJiNiqZ+Gb7+6kHDSVneFeO/qJakXzlByjAA6quPbYzSf
+AZxAeKCINT+b72x
-----END CERTIFICATE-----
 2 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority
   i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root
-----BEGIN CERTIFICATE-----
MIIFdDCCBFygAwIBAgIQJ2buVutJ846r13Ci/ITeIjANBgkqhkiG9w0BAQwFADBv
MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFk
ZFRydXN0IEV4dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBF
eHRl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hI6t7jiY7NkyMtQwDgYDVR0PAQH/BAQD
AgGGMA8GA1UdEwEB/wQFMAMBAf8wEQYDVR0gBAowCDAGBgRVHSAAMEQGA1UdHwQ9
MDswOaA3oDWGM2h0dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9BZGRUcnVzdEV4dGVy
bmFsQ0FSb290LmNybDA1BggrBgEFBQcBAQQpMCcwJQYIKwYBBQUHMAGGGWh0dHA6
Ly9vY3NwLnVzZXJ0cnVzdC5jb20wDQYJKoZIhvcNAQEMBQADggEBAGS/g/FfmoXQ
zbihKVcN6Fr30ek+8nYEbvFScLsePP9NDXRqzIGCJdPDoCpdTPW6i6FtxFQJdcfj
Jw5dhHk3QBN39bSsHNA7qxcS1u80GH4r6XnTq1dFDK8o+tDb5VCViLvfhVdpfZLY
Uspzgb8c8+a4bmYRBbMelC1/kZWSWfFMzqORcUx8Rww7Cxn2obFshj5cqsQugsv5
B5a6SE2Q8pTIqXOi6wZ7I53eovNNVZ96YUWYGGjHXkBrI/V5eu+MtWuLt29G9Hvx
PUsE2JOAWVrgQSQdso8VYFhH2+9uRv0V9dlfmrPb2LjkQLPNlzmuhbsdjrzch5vR
pu/xO28QOG8=
-----END CERTIFICATE-----
---
Server certificate
subject=/OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.rubygems.org
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
---
No client certificate CA names sent
---
SSL handshake has read 4980 bytes and written 431 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES128-GCM-SHA256
    Session-ID: 5CA557E2DEA04AE0414BB97FC9196C290D386CB3903EB0BF9BB0394B2F9A22FF
    Session-ID-ctx: 
    Master-Key: 54969E214E85C26DCAA829A27004BCFB6E49FB6BA54AB1B2B34377175FE2BE740033BFF3132340441C9EF1AE939C6C96
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 300 (seconds)
    TLS session ticket:
    0000 - 4c f5 ba 6c 9e 6b 8f 20-cf b7 e6 6f c1 52 df fb   L..l.k. ...o.R..
    0010 - df f2 df 3b 3f b9 28 af-8e 1d 9f 41 f4 85 f5 fd   ...;?.(....A....
    0020 - 78 e5 30 3a 8b b2 28 dd-93 e3 3f 86 d9 1d 7b 29   x.0:..(...?...{)
    0030 - 6f e4 f1 5d 5d 6a 9a b0-e7 03 36 8f 3b 61 5e a0   o..]]j....6.;a^.
    0040 - d9 da be ce a4 28 2a 53-68 a1 bf c1 6e 08 85 f5   .....(*Sh...n...
    0050 - 57 69 12 03 c1 40 89 93-88 b9 f6 41 5f 56 24 0c   Wi...@.....A_V$.
    0060 - 4d a0 49 dd 8b e4 ff 28-db 32 f9 5d 1b 09 57 e8   M.I....(.2.]..W.
    0070 - 36 0d 27 f8 1a 73 ee ff-16 7a 9a 93 34 62 3a f8   6.'..s...z..4b:.
    0080 - 04 de 6c 5b b9 d1 a9 c3-dd a0 bb c8 d7 76 79 67   ..l[.........vyg
    0090 - 77 36 c3 67 ed 4a ff 30-64 d4 9c f1 b0 78 90 fb   w6.g.J.0d....x..

    Start Time: 1418097558
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)

Versions

# cat /etc/issue
Debian GNU/Linux jessie/sid \n \l
# ruby -v
ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
# gem -v
2.4.5
# bundler -v
Bundler version 1.7.8
Owner
indirect commented Dec 9, 2014

The errors tonight were a temporary problem with the Rubygems CDN. They should be fixed now.

shymi commented Dec 10, 2014

Hello everybody! Yesterday I installed ruby on my home PC and tried to download rails via gem command and failed to do it:

ERROR:  Could not find a valid gem 'rails' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read
 server certificate B: certificate verify failed (https://api.rubygems.org/latest_specs.4.8.gz) 

Tried it with the http connection and the same error appeared, after some of the packets were successfully installed, for the https://api.rubygems.org/latest_specs.4.8.gz - is it normal to try to download this file from https, if in the command the source was the http url?
Today I tried the same thing(about half an hour ago) from work - the same thing happened. This are the SSL version and certificate for the machine on work:

#ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.0o 15 Oct 2014"
openssl s_client -showcerts -connect rubygems.org:https
CONNECTED(00000003)
depth=2 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Aut
hority
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.rubygems.org
   i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server C
A
-----BEGIN CERTIFICATE-----
MIIFUzCCBDugAwIBAgIRAPLaUGqN5nvAm5oy7tfh3dEwDQYJKoZIhvcNAQELBQAw
gZAxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMTYwNAYD
VQQDEy1DT01PRE8gUlNBIERvbWFpbiBWYWxpZGF0aW9uIFNlY3VyZSBTZXJ2ZXIg
Q0EwHhcNMTQxMDE2MDAwMDAwWhcNMTUxMDE2MjM1OTU5WjBcMSEwHwYDVQQLExhE
b21haW4gQ29udHJvbCBWYWxpZGF0ZWQxHjAcBgNVBAsTFUVzc2VudGlhbFNTTCBX
aWxkY2FyZDEXMBUGA1UEAxQOKi5ydWJ5Z2Vtcy5vcmcwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQCmL7NyiM3y61Up2cjNJq5ETt7+qKtoiBKVJpYQ8cB/
jk4tQuZwKF59dq1gAy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H0i7i0lXJDz/qIdboPfxc
2T0oTBJufxvLCeNOFgl5aKus5HD/mnKoD1hGEOBJjulUwn09n8PMFnXmAnDVZ3Tv
6PltYiH4OadktplNR8oBB55Kn0ffYgIfofL9Mr2iCJlTvxMEpIRAe6NIs2r8InEJ
CnoNbAXUBuqOjgiiYNLvDrv3usj15Yv8xRMn9pyxA14i6HSyf5LwrLWPWhhV3YJ7
R+n4EAYack3mCZb2TZ8FwoS05OKhbw8=
-----END CERTIFICATE-----
 1 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server C
A
   i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority
-----BEGIN CERTIFICATE-----
MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUim7bo3yMBzANBgkqhkiG9w0BAQwFADCB
hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV
BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQwMjEy
MDAwMDAwWhcNMjkwMjExMjM1OTU5WjCBkDELMAkGA1UEBhMCR0IxGzAZBgNVBAgT
EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR
Q09NT0RPIENBIExpbWl0ZWQxNjA0BgNVBAMTLUNPTU9ETyBSU0EgRG9tYWluIFZh
bGlkYXRpb24gU2VjdXJlIFNlcnZlciBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAI7CAhnhoFmk6zg1jSz9AdDTScBkxwtiBUUWOqigwAwCfx3M28Sh
bXcDow+G+eMGnD4LgYqbSRutA776S9uMIO3Vzl5ljj4Nr0zCsLdFXlIvNN5IJGS0
Qa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vjo1JXvxku88+vZbrac2/4EjxYoIQ5QxG
V/Iz2tDIY+3GH5QFlkoakdH368+PUq4NCNk+qKBR6cGHdNXJ93SrLlP7u3r7l+L4
HyaPs9Kg4DdbKDsx5Q5XLVq4rXmsXiBmGqW5prU5wfWYQ//u+aen/e7KJD2AFsQX
j4rBYKEMrltDR5FL1ZoXX/nUh8HCjLfn4g8wGTeGrODcQgPmlKidrv0PJFGUzpII
0fxQ8ANAe4hZ7Q7drNJ3gjTcBpUC2JD5Leo31Rpg0Gcg19hCC0Wvgmje3WYkN5Ap
lBlGGSW4gNfL1IYoakRwJiNiqZ+Gb7+6kHDSVneFeO/qJakXzlByjAA6quPbYzSf
+AZxAeKCINT+b72x
-----END CERTIFICATE-----
 2 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority
   i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root
-----BEGIN CERTIFICATE-----
MIIFdDCCBFygAwIBAgIQJ2buVutJ846r13Ci/ITeIjANBgkqhkiG9w0BAQwFADBv
MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFk
ZFRydXN0IEV4dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBF
eHRlcm5hbCBDQSBSb290MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFow
gYUxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMSswKQYD
VQQDEyJDT01PRE8gUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkq
hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAkehUktIKVrGsDSTdxc9EZ3SZKzejfSNw
AHG8U9/E+ioSj0t/EFa9n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DoCpdTPW6i6FtxFQJdcfj
Jw5dhHk3QBN39bSsHNA7qxcS1u80GH4r6XnTq1dFDK8o+tDb5VCViLvfhVdpfZLY
Uspzgb8c8+a4bmYRBbMelC1/kZWSWfFMzqORcUx8Rww7Cxn2obFshj5cqsQugsv5
B5a6SE2Q8pTIqXOi6wZ7I53eovNNVZ96YUWYGGjHXkBrI/V5eu+MtWuLt29G9Hvx
PUsE2JOAWVrgQSQdso8VYFhH2+9uRv0V9dlfmrPb2LjkQLPNlzmuhbsdjrzch5vR
pu/xO28QOG8=
-----END CERTIFICATE-----
---
Server certificate
subject=/OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.rubygems.org
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server
 CA
---
No client certificate CA names sent
---
SSL handshake has read 4980 bytes and written 444 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES128-GCM-SHA256
    Session-ID: A3749E4447877FDAA64026646DD8908B0C9F0A7831D87B43E58860D088D4868C
    Session-ID-ctx:
    Master-Key: A3A48C1B6F27D2C6075C6CB2DEC85FD22E66B9EEBAC01F4658384763C63B87968677E7D2F2C942C33A3A070BC221D6
63
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 300 (seconds)
    TLS session ticket:
    0000 - 1c de 63 dc 8a f6 66 ca-27 1f 31 7c 20 88 90 55   ..c...f.'.1| ..U
    0010 - 58 44 2d 0b 02 db 5d ff-68 c6 c7 03 d3 31 c4 7c   XD-...].h....1.|
    0020 - c5 05 10 ba 9a 15 ef ad-b0 9d bf 87 f1 3e 70 c4   .............>p.
    0030 - eb ee 0b 59 81 1c 99 a2-81 f8 0b 56 ae 13 8e 63   ...Y.......V...c
    0040 - 70 4b 6b e5 db 74 fd a0-4f b5 22 6e 99 5f 37 68   pKk..t..O."n._7h
    0050 - 7c 00 f8 b3 49 36 cd 50-3f c6 4a eb 45 19 9f c1   |...I6.P?.J.E...
    0060 - 82 e9 62 93 17 46 f5 7c-c3 e5 d6 bb 1d 6d 69 bc   ..b..F.|.....mi.
    0070 - f0 57 ff aa f4 ae 9c 33-3d a8 76 db 3e f2 fe df   .W.....3=.v.>...
    0080 - b4 45 43 88 86 bc 6e c1-55 33 4a 57 be d0 9b bd   .EC...n.U3JW....
    0090 - 81 1e c8 f5 24 c8 3e eb-86 6e 30 45 5c f2 da cf   ....$.>..n0E\...

    Start Time: 1418206241
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
---

OS - Windows 7 Professional x64
When I get home if it is needed I could post the SSL certificate and the version of it for the home PC.

Member

@jason-yang @shymi

In the case of Windows, as I mentioned before, certificate verify failed is associated with this:

https://groups.google.com/forum/#!topic/rubyinstaller/McLTqcU35FY

As suggested too, searching on closed issues shows this several times in the results.

I am not able to install any gems. Throwing this error
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certif
icate verify failed (https://api.rubygems.org/specs.4.8.gz)

Same here!

gem update --system
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

Member

Please, search for " certificate verify failed", this has been answered
before in other issues and also in previous responses is the solution.

Sorry for top posting. Sent from mobile.
On Dec 19, 2014 7:53 AM, "Mihai Garda Popescu" notifications@github.com
wrote:

Same here!

gem update --system
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:
certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

Reply to this email directly or view it on GitHub
#515 (comment).

Yes, I'll post the solution that I found and that works for me on OS X:

rvm osx-ssl-certs update all

I received this error on Windows-7. Outputs:

D:\source>ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'
"OpenSSL 1.0.0o 15 Oct 2014"
D:\source>openssl s_client -showcerts -connect rubygems.org:443
Loading 'screen' into random state - done
CONNECTED(00000164)
depth=2 /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.rubygems.org
   i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
-----BEGIN CERTIFICATE-----
MIIFUzCCBDugAwIBAgIRAPLaUGqN5nvAm5oy7tfh3dEwDQYJKoZIhvcNAQELBQAw
gZAxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMTYwNAYD
VQQDEy1DT01PRE8gUlNBIERvbWFpbiBWYWxpZGF0aW9uIFNlY3VyZSBTZXJ2ZXIg
Q0EwHhcNMTQxMDE2MDAwMDAwWhcNMTUxMDE2MjM1OTU5WjBcMSEwHwYDVQQLExhE
b21haW4gQ29udHJvbCBWYWxpZGF0ZWQxHjAcBgNVBAsTFUVzc2VudGlhbFNTTCBX
aWxkY2FyZDEXMBUGA1UEAxQOKi5ydWJ5Z2Vtcy5vcmcwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQCmL7NyiM3y61Up2cjNJq5ETt7+qKtoiBKVJpYQ8cB/
jk4tQuZwKF59dq1gAyU6SFf/iUFRYnvfEa/V+FpuyBL7b/jEzI809hVtkSQM+6vR
9Vz9rey4wcBpgEX7vSRimtH7RUCitNF3OZkHc59Ny07q9FgW+rRlvWnL970QlgiT
0o0m3SoJRzqu8zn2ZLtbDARz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IRAe6NIs2r8InEJ
CnoNbAXUBuqOjgiiYNLvDrv3usj15Yv8xRMn9pyxA14i6HSyf5LwrLWPWhhV3YJ7
R+n4EAYack3mCZb2TZ8FwoS05OKhbw8=
-----END CERTIFICATE-----
 1 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
   i:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority
-----BEGIN CERTIFICATE-----
MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUim7bo3yMBzANBgkqhkiG9w0BAQwFADCB
hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV
BAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQwMjEy
MDAwMDAwWhcNMjkwMjExMjM1OTU5WjCBkDELMAkGA1UEBhMCR0IxGzAZBgNVBAgT
EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR
Q09NT0RPIENBIExpbWl0ZWQxNjA0BgNVBAMTLUNPTU9ETyBSU0EgRG9tYWluIFZh
bGlkYXRpb24gU2VjdXJlIFNlcnZlciBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAI7CAhnhoFmk6zg1jSz9AdDTScBkxwtiBUUWOqigwAwCfx3M28Sh
bXcDow+G+eMGnD4LgYqbSRutA776S9uMIO3Vzl5ljj4Nr0zCsLdFXlIvNN5IJGS0
Qa4Al/e+Z96e0HqnU4A7fK31llVvl0cKfIWLIpeNs4TgllfQcBhglo/uLQeTnaG6
ytHNe+nEKpooIZFNb5JPJaXyejXdJtxGpdCsWTWM/06RQ1A/WZMebFEh7lgUq/51
UHg+TLAchhP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qW5prU5wfWYQ//u+aen/e7KJD2AFsQX
j4rBYKEMrltDR5FL1ZoXX/nUh8HCjLfn4g8wGTeGrODcQgPmlKidrv0PJFGUzpII
0fxQ8ANAe4hZ7Q7drNJ3gjTcBpUC2JD5Leo31Rpg0Gcg19hCC0Wvgmje3WYkN5Ap
lBlGGSW4gNfL1IYoakRwJiNiqZ+Gb7+6kHDSVneFeO/qJakXzlByjAA6quPbYzSf
+AZxAeKCINT+b72x
-----END CERTIFICATE-----
 2 s:/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Certification Authority
   i:/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root
-----BEGIN CERTIFICATE-----
MIIFdDCCBFygAwIBAgIQJ2buVutJ846r13Ci/ITeIjANBgkqhkiG9w0BAQwFADBv
MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFk
ZFRydXN0IEV4dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBF
eHRlcm5hbCBDQSBSb290MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFow
gYUxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMSswKQYD
VQQDEyJDT01PRE8gUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkq
hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAkehUktIKVrGsDSTdxc9EZ3SZKzejfSNw
AHG8U9/E+ioSj0t/EFa9n3Byt2F/yUsPF6c947AEYe7/EZfH9IY+Cvo+XPmT5jR6
2RRr55yzhaCCenavcZDX7P0N+pxs+t+wgvQUfvm+xKYvT3+Zf7X8Z0NyvQwA1onr
ayzT7Y+YHBSrfuXjbvzYqOS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n2obFshj5cqsQugsv5
B5a6SE2Q8pTIqXOi6wZ7I53eovNNVZ96YUWYGGjHXkBrI/V5eu+MtWuLt29G9Hvx
PUsE2JOAWVrgQSQdso8VYFhH2+9uRv0V9dlfmrPb2LjkQLPNlzmuhbsdjrzch5vR
pu/xO28QOG8=
-----END CERTIFICATE-----
---
Server certificate
subject=/OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.rubygems.org
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
---
No client certificate CA names sent
---
SSL handshake has read 4988 bytes and written 325 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES128-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : DHE-RSA-AES128-SHA
    Session-ID:
    Session-ID-ctx:
    Master-Key: 35B9A2AE23FDFBFF3218C1E2D2C8B02E39E48991E67E833C617F608A51C34A080E40B61A46AEB4016CC613091425143C
    Key-Arg   : None
    Start Time: 1419827808
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
---

As a workaround, I've downloaded the CA certs as described in this SO answer.

dunake commented Dec 29, 2014

I get the following error:
ERROR: Could not find a valid get 'rake' (= 10.0.4), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect trturned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/space.4.8.gz)

@DuncanAkello- The workaround I applied can be useful to you too, especially if you are on Windows: http://stackoverflow.com/questions/10246023/bundle-install-fails-with-ssl-certificate-verification-error

Only addictional --source http://rubygems.org

exampler

gem install sass

ERROR: Could not find a valid gem 'sass' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/latest_specs.4.8.gz)

now installer with ( --source http://rubygems.org )

gem install sass --source http://rubygems.org

chiva05 commented Dec 31, 2014

C:\Users\luisko>gem install sass --source http://rubygems.org
Successfully installed sass-3.4.9
Parsing documentation for sass-3.4.9
Done installing documentation for sass after 6 seconds
WARNING: Unable to pull data from 'https://rubygems.org/': SSL_connect returned
=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (htt
ps://api.rubygems.org/latest_specs.4.8.gz)
1 gem installed

Member

Hello,

This has been answered before. Please search for certificate verification failed.

For the lazy ones, here is the link to the instructions on how to solve this:

https://gist.github.com/luislavena/f064211759ee0f806c88

@luislavena luislavena locked and limited conversation to collaborators Dec 31, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.