Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Cannot push ruby gem



  • When doing a ruby gem push, it fails because authentication is not available:

    gem push <gem file> --host http://<redacted>/rubygems/RubyGem
    

    When trying to set the credentials file (~/.gem/credentials), it fails with an Endpoint Not Found error

    curl http://<redacted>/rubygems/RubyGem -u user > ~/.gem/credentials
    

    How to we get around this to push the gems to the server?

    Edit: I manually created the file, but this error is still not expected.


  • inedo-engineer

    Hello;

    I'm not all that familiar with Ruby Gems, but I'll try to help. At first, I think the problem is that you're using host instead of source.

    gem push <gem file> --source http://<redacted>/rubygems/RubyGem
    

    Hope that does the trick :)

    FYI; we recently updated our RubyGems Documentation to help others get setup.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation