Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6486

Bundle install fails to find proper puppet version when source is path or vcs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.6.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      On a system where a differing version of the puppet gem is installed and exists within the LOAD_PATH.

    • Template:
    • Acceptance Criteria:
      Hide

      bundle install works for gemfiles specifying a vcs or local (path) source for a version of the puppet gem that differs from a version already installed.

      Show
      bundle install works for gemfiles specifying a vcs or local (path) source for a version of the puppet gem that differs from a version already installed.
    • Story Points:
      0
    • Sprint:
      Client 2016-07-27
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      tooling change

      Description

      When specifying the puppet gem in a gemfile with a local path source or a vcs source (such as github), the existing puppet gem's version file is loaded instead of the version file from the target. If the version of the previously installed gem does not match the target gem version, bundler fails with an error like:

      Could not find gem 'puppet (= 4.6.0)' in source at `/Users/peter.drake/workspace/puppet`.
      Source contains 'puppet' at: 4.5.2
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            pdrake Peter Drake
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support