tag:help.rubygems.org,2010-01-19:/discussions/problems/496-there-was-a-problem-saving-your-gem-home-does-not-appear-to-be-a-valid-urlRubyGems.org: Discussion 2018-10-18T19:51:03Ztag:help.rubygems.org,2010-01-19:Comment/54903752011-02-21T19:25:56Z2011-02-21T19:25:57ZThere was a problem saving your gem: Home does not appear to be a valid URL<div><p>Hi, I have a hoe managed gem (metrocot) you inherited from
rubyforge. We have a new version and would like to share that with
the community but gem push fails with...</p>
<p>"There was a problem saving your gem: Home does not appear to be
a valid URL"</p>
<p>I also cannot update any of the URLs for this gem via rubygems
where I get the same error message.<br></p>
<p>Seems like the metrocot home URL was set to something squirly in
the past (not sure how but could well be my bad). But how do I fix
that? Seems like keys are locked in the car -- I cannot fix the
homepage URL until the homepage URL is fixed.<br></p></div>Helmut Hissentag:help.rubygems.org,2010-01-19:Comment/54903752011-02-22T01:43:46Z2011-02-22T01:43:46ZThere was a problem saving your gem: Home does not appear to be a valid URL<div><p>Remove "(url)" from README.txt:</p>
<pre>
<code>$ head -3 README.txt
= metrocot
* http://www.metrocascade.com/mdn/opensource/metrocot (url)
[ 17:43 ehodel@YPCMC10014:~/tmp/metrocot-1.0.2 ]
$ rake debug_gem | grep homepage
Hoe.new {...} deprecated. Switch to Hoe.spec.
s.homepage = %q{http://www.metrocascade.com/mdn/opensource/metrocot (url)}</code>
</pre></div>Eric Hodeltag:help.rubygems.org,2010-01-19:Comment/54903752011-02-22T02:01:40Z2011-02-22T02:01:40ZThere was a problem saving your gem: Home does not appear to be a valid URL<div><p>thank you -- fixing that URL did the trick</p>
<p>regards</p>
<p>Helmut Hissen<br>
<a href="mailto:helmut@zeebar.com">helmut@zeebar.com</a></p></div>Helmut Hissen