Trying to gem push to a geminabox host without an existing api key results in a prompt for an email and password, which then fails to work.
❯ gem push pkg/[GEM].gem --host [HOST]
Enter your [HOST] credentials.
Don't have an account yet? Create one at [HOST]/sign_up
ERROR: While executing gem ... (NoMethodError)
undefined method `request_uri' for #<URI::Generic:0x007fe759a55e18>
Try creating file like this:
in directory ~/.gem/credentials
This issue is also mentioned here jgraichen/geminabox-rake#3
Creating a credentials file skips over the prompt for credentials, but the same ERROR: while executing gem... message is returned for me.
Mine is slightly different, undefined method 'downcase' for nil:NilClass
undefined method 'downcase' for nil:NilClass
Server is running ruby 1.9.3p551
Client calling gem push a.gem -- host site.com is running ruby 2.1.7p400
gem push a.gem -- host site.com
I presume downcase is attempting to be called on an email variable, which I would not have provided. Not sure which library would be to blame for this under the hood?