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

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.6.0
    • None
    • None
    • On a system where a differing version of the puppet gem is installed and exists within the LOAD_PATH.

    • 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.
    • 0
    • Client 2016-07-27
    • Not Needed
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support