Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-1170

PDK and R10K gems not installable at same time - in conflict over CRI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Template:
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Summary
      Would like to install pdk and r10k in Gemfile.local bu they conflict over CRI:

      Details

      geoff@computer:~/tmp/foo$  cat Gemfile.local 
      gem 'pdk'
      gem 'r10k'
       
      geoff@computer:~/tmp/foo$ bundle install
      The dependency puppet-module-win-default-r2.5 (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mswin32, x86-mingw32, x64-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mswin32 x86-mingw32 x64-mingw32`.
      The dependency puppet-module-win-dev-r2.5 (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mswin32, x86-mingw32, x64-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mswin32 x86-mingw32 x64-mingw32`.
      Fetching gem metadata from https://rubygems.org/.......
      Fetching gem metadata from https://rubygems.org/.
      Resolving dependencies...
      Bundler could not find compatible versions for gem "cri":
        In snapshot (Gemfile.lock):
          cri (= 2.10.1)
       
        In Gemfile:
          pdk was resolved to 1.7.0, which depends on
            cri (~> 2.10.1)
       
          r10k was resolved to 1.0.0, which depends on
            cri (~> 2.3.0)
       
      Running `bundle update` will rebuild your snapshot from scratch, using only
      the gems in your Gemfile, which may resolve the conflict.
      

      Gemfile is the default file generated by pdk new module

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              geoff@declarativesystems.com Geoff Williams
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support