tag:help.rubygems.org,2010-01-19:/discussions/problems/10058-unable-to-push-gem-update-cant-find-rubygems-update-in-any-repoRubyGems.org: Discussion 2013-10-08T12:04:31Ztag:help.rubygems.org,2010-01-19:Comment/292025002013-10-04T18:32:35Z2013-10-04T18:32:36ZUnable To Push Gem Update - "Can't find 'rubygems-update' in any repo."<div><p>Running Rubygems 2.1.5, Ruby 2.0.0p247, RVM.</p>
<p>When I try to push an update to my gem I'm getting the following
response:</p>
<p>HEAD <a href=
"https://rubygems.org/latest_specs.4.8.gz">https://rubygems.org/latest_specs.4.8.gz</a><br>
302 Moved Temporarily<br>
ERROR: While executing gem ... (RuntimeError)<br>
Can't find 'rubygems-update' in any repo. Check <code>gem source
list</code>.</p>
<p>I saw the same error in the thread at <a href=
"http://help.rubygems.org/discussions/problems/9923-getting-405-error-when-trying-to-push-gem">
http://help.rubygems.org/discussions/problems/9923-getting-405-erro...</a>,
but I'm not sure that they're related.</p>
<p>Thanks for your help.</p></div>Chris Warrentag:help.rubygems.org,2010-01-19:Comment/292025002013-10-06T18:08:56Z2013-10-06T18:08:58ZUnable To Push Gem Update - "Can't find 'rubygems-update' in any repo."<div><p>I'm having the same problem when trying to gem push.</p>
<p>HEAD <a href=
"https://rubygems.org/latest_specs.4.8.gz">https://rubygems.org/latest_specs.4.8.gz</a><br>
302 Moved Temporarily<br>
ERROR: While executing gem ... (RuntimeError)<br>
Can't find 'rubygems-update' in any repo. Check <code>gem source
list</code>.</p></div>Todd Hoopertag:help.rubygems.org,2010-01-19:Comment/292025002013-10-07T01:48:04Z2013-10-07T01:48:08ZUnable To Push Gem Update - "Can't find 'rubygems-update' in any repo."<div><p>Here's a workaround:</p>
<p>$ gem sources -a <a href=
"http://s3.amazonaws.com/production.s3.rubygems.org/">http://s3.amazonaws.com/production.s3.rubygems.org/</a></p>
<p>Here's why it's a non-https s3 address:</p>
<p>$ curl -i -X HEAD <a href=
"https://rubygems.org/latest_specs.4.8.gz">https://rubygems.org/latest_specs.4.8.gz</a>
HTTP/1.1 302 Moved Temporarily<br>
Server: nginx<br>
Date: Mon, 07 Oct 2013 01:41:30 GMT<br>
Content-Type: text/html<br>
Content-Length: 154<br>
Connection: keep-alive<br>
Location: <a href=
"https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz">
https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4....</a></p>
<p>$ gem sources -a <a href=
"https://s3.amazonaws.com/production.s3.rubygems.org/">https://s3.amazonaws.com/production.s3.rubygems.org/</a>
Error fetching <a href=
"https://s3.amazonaws.com/production.s3.rubygems.org/">https://s3.amazonaws.com/production.s3.rubygems.org/</a>:<br>
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate
B: certificate verify failed (<a href=
"https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz">https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz</a>)</p>
<p>$ gem sources -a <a href=
"http://s3.amazonaws.com/production.s3.rubygems.org/">http://s3.amazonaws.com/production.s3.rubygems.org/</a>
<a href=
"http://s3.amazonaws.com/production.s3.rubygems.org/">http://s3.amazonaws.com/production.s3.rubygems.org/</a>
added to sources</p></div>Todd Hoopertag:help.rubygems.org,2010-01-19:Comment/292025002013-10-07T17:15:24Z2013-10-07T17:15:24ZUnable To Push Gem Update - "Can't find 'rubygems-update' in any repo."<div><p>Awesome, that got things working for now. Thanks Todd.</p></div>Chris Warrentag:help.rubygems.org,2010-01-19:Comment/292025002013-10-08T12:04:30Z2013-10-08T12:04:30ZUnable To Push Gem Update - "Can't find 'rubygems-update' in any repo."<div><p>Using a non-https url is a security problem. This error means
you need to update your local ssl certs. Here's a good overview:
<a href=
"http://railsapps.github.io/openssl-certificate-verify-failed.html">
http://railsapps.github.io/openssl-certificate-verify-failed.html</a></p></div>David Radcliffe