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

Rubygems Plugin does not fully respect nexus-webapp-context-path

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.12.0
    • Fix Version/s: None
    • Component/s: RubyGems
    • Labels:
      None

      Description

      Hello,
      in nexus.properties we set nexus-webapp-context-path=/

      That works fine, except for Rubygems Proxies.

      Nexus drops 404 errors, when using it as source in a Gemfile / bundler setup.

      To manually provoke the error do a

      curl 'http://nexus:8081/content/repositories/rubygemsorg/api/v1/dependencies?gems=gem_version,rake,nexus'
      

      ==> gives some 404 output

      curl 'http://nexus:8081/nexus/content/repositories/rubygemsorg/api/v1/dependencies?gems=gem_version,rake,nexus'
      

      => works

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            derjohn Andreas John
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title