Apparently, I had several entangled issues …
The Github thing is a behavior I’ve noticed but never thought about … if you create the repo on github.com & then connect to upload several times, github will automatically drop a cookie to remember. So, the fix is just pushing 3 times, for that part.
The other part that snagged me & I’m not sure what the best fix is on it - as it’s some sort of security measure …
mirv:~/workspace/hihi (master) $ gem push hihi-0.1.0
ERROR: While executing gem ... (Gem::Package::FormatError)
No such file or directory @ rb_sysopen - hihi-0.1.0
mirv:~/workspace/hihi (master) $ gem -v
Which was worked around by commenting out the …
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
# if spec.respond_to?(:metadata)
# spec.metadata['allowed_push_host'] = "https://github.com/Mirv/hihi"
# raise "RubyGems 2.0 or newer is required to protect against " \
# "public gem pushes."