Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18388

Bundle install failed when using local repository through a virtual repository

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 6.7.3
    • Component/s: None
    • Labels:
      None

      Description

      We're using Artifactory for Rubygems (local/remote and virtual). We use it with Bundler. We install our ruby dependencies with:

      bundle install

      It failed. Error is:

      Retrying dependency api due to error (1/4): NoMethodError undefined method `map' for nil:NilClass

      When this error occured, bundler exist and dependencies are not installed.

      After looking deeper in the problem, it seems Bundler does an API call to this URL:

      http://{HOSTNAME}/artifactory/api/gems/{REPO-NAME}/api/v1/dependencies?gems={GEM_NAME}

      This seems to work, but it not always returns the dependencies. That's why bundler failed, as it calls a .map() method on a key (dependencies) and it sometimes doesn't exist. Is there a change that sometimes the depdencies are not returned?

      This error occured when upgraded Artifactory from version 6.6.5 to 6.7.0.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sc Sander Cornelissen
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: