Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-11850

add support for gem push command

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: RubyGems
    • Labels:
      None

      Description

      copied the main description over from https://github.com/sonatype/nexus-ruby-support/issues/62 :

      I am actually getting a HTTP 400 (Bad Request) when doing the

      gem push --host http://gems.mydomain.com/repository/rubygems-hosted/
      

      This is the output log

      user@hell:~/dev/mygem$ gem push --host http://gems.mydomain.com/repository/rubygems-hosted/
      Enter your http://gems.mydomain.com/repository/rubygems-hosted/ credentials.
      Don't have an account yet? Create one at http://gems.mydomain.com/repository/rubygems-hosted//sign_up
         Email:   vzamanillo
      Password:   
      
      
      <!DOCTYPE html>
      <html>
      <head>
        <title>400 - Nexus Repository Manager</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      
      
        <!--[if lt IE 9]>
        <script>(new Image).src="http://gems.mydomain.com/favicon.ico?3.1.0-04"</script>
        <![endif]-->
        <link rel="icon" type="image/png" href="http://gems.mydomain.com/favicon-32x32.png?3.1.0-04" sizes="32x32">
        <link rel="mask-icon" href="http://gems.mydomain.com/safari-pinned-tab.svg?3.1.0-04" color="#5bbad5">
        <link rel="icon" type="image/png" href="http://gems.mydomain.com/favicon-16x16.png?3.1.0-04" sizes="16x16">
        <link rel="shortcut icon" href="http://gems.mydomain.com/favicon.ico?3.1.0-04">
        <meta name="msapplication-TileImage" content="http://gems.mydomain.com/mstile-144x144.png?3.1.0-04">
        <meta name="msapplication-TileColor" content="#00a300">
      
        <link rel="stylesheet" type="text/css" href="http://gems.mydomain.com/static/css/nexus-content.css?3.1.0-04"/>
      </head>
      <body>
      <div class="nexus-header">
        <a href="http://gems.mydomain.com">
          <div class="product-logo">
            <img src="http://gems.mydomain.com/static/images/nexus.png?3.1.0-04"/>
          </div>
          <div class="product-id">
            <div class="product-id__line-1">
              <span class="product-name">Nexus Repository Manager</span>
            </div>
            <div class="product-id__line-2">
              <span class="product-spec">OSS 3.1.0-04</span>
            </div>
          </div>
        </a>
      </div>
      
      <div class="nexus-body">
        <div class="content-header">
          <img src="http://gems.mydomain.com/static/rapture/resources/icons/x32/exclamation.png?3.1.0-04"/>
          <span class="title">Error 400</span>
          <span class="description">Bad Request</span>
        </div>
        <div class="content-body">
          <div class="content-section">
            Bad Request
          </div>
            </div>
      </div>
      </body>
      </html>
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vzamanillo VĂ­ctor Zamanillo
            CC:
            Christian Meier
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title