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

provider gem in package type doesn't work anymore when rubygems is >= 3.0.0

    Details

    • Template:
      PUP Bug Template
    • Team:
      Skeletor
    • Story Points:
      1
    • Sprint:
      Platform OS Kanban, Skeletor Kanban, Skeletor Kanban, Skeletor Kanban, Skeletor Kanban
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide

      - Puppet now uses the `--no-document` option to exclude documentation when installing gems, instead of the deprecated `--no-rdoc` and `--no-ri` options. This change allows compatibility with `rubygems` 3.0 and greater.
      Show
      - Puppet now uses the `--no-document` option to exclude documentation when installing gems, instead of the deprecated `--no-rdoc` and `--no-ri` options. This change allows compatibility with `rubygems` 3.0 and greater.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Since version 3.x, gem will not have anymore the 2 params --no-ri and --no-rdoc, that currently are the default params.(https://github.com/puppetlabs/puppet/blob/24ead48f617cd3912491fe419ac7b67cda53a320/lib/puppet/provider/package/gem.rb#L131) when is used the provider gem in the type package. This should be addressed by adding an option to disable them or override them through the parameter `install_options` already existing in the type package. The version 3.x of rubygems is a constraint since the new bundler major version 2.0.0 dropped support for rubygem older than 3.0.0 : https://github.com/bundler/bundler/releases/tag/v2.0.0 .

       

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  branan Branan Riley
                  Reporter:
                  lzecca78 Luca Zecca
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: