There was a problem saving your gem: Home does not appear to be a valid URL

Helmut Hissen's Avatar

Helmut Hissen

21 Feb, 2011 07:25 PM

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...

"There was a problem saving your gem: Home does not appear to be a valid URL"

I also cannot update any of the URLs for this gem via rubygems where I get the same error message.

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.

  1. Support Staff 2 Posted by Eric Hodel on 22 Feb, 2011 01:43 AM

    Eric Hodel's Avatar

    Remove "(url)" from README.txt:

    $ 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)}
    
  2. Eric Hodel closed this discussion on 22 Feb, 2011 01:43 AM.

  3. Helmut Hissen re-opened this discussion on 22 Feb, 2011 02:01 AM

  4. 3 Posted by Helmut Hissen on 22 Feb, 2011 02:01 AM

    Helmut Hissen's Avatar

    thank you -- fixing that URL did the trick

    regards

    Helmut Hissen
    [email blocked]

  5. Nick Quaranto closed this discussion on 27 Feb, 2011 06:11 PM.

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

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

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

You can use Command ⌘ instead of Control ^ on Mac