Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-4309

windows modules (all): rubocop > rainbow dependency

    XMLWordPrintable

    Details

    • CI Pipeline/s:
      modules
    • Team:
      Modules
    • Sprint:
      Modules 2017-01-25
    • QA Risk Assessment:
      Needs Assessment

      Description

      Rubocop has a fairly wide dependency on Rainbow, between versions 1.99 and 3.0. Rainbow 2.2.1 was just released and tries to install native extensions, which is no bueno for Windows. We need to pin Rainbow at 2.1.0 or lower in the modulesync configs for Windows modules to mitigate this issue.

      Failure excerpt:

      11:00:16 Gem::InstallError: The 'rainbow' native gem requires installed build tools.
      11:00:16 
      11:00:16 Please update your PATH to include build tools or download the DevKit
      11:00:16 from 'http://rubyinstaller.org/downloads' and follow the instructions
      11:00:16 at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
      11:00:16 
      11:00:16 An error occurred while installing rainbow (2.2.1), and Bundler cannot continue.
      11:00:16 Make sure that `gem install rainbow -v '2.2.1'` succeeds before bundling.
      

      A few failed jobs:
      https://jenkins-modules.puppetlabs.com/view/3.%20windows%20only/view/sqlserver/view/sqlserver%20-%20master/job/forge-windows_puppetlabs-sqlserver_intn-module_master/lastFailedBuild/P=4.2.3,R=ruby-2.1.9.1-x64,S=unit-win2012/console
      https://jenkins-modules.puppetlabs.com/view/3.%20windows%20only/view/reboot/view/reboot%20-%20master/job/forge-windows_puppetlabs-reboot_intn-module_master/lastFailedBuild/P=4.2.3,R=ruby-2.1.9.1-x86,S=unit-win2012/console
      https://jenkins-modules.puppetlabs.com/view/3.%20windows%20only/view/registry/view/registry%20-%20master/job/forge-windows_puppetlabs-registry_intn-module_master/lastFailedBuild/P=4.7.0,R=ruby-2.1.9.1-x64,S=unit-win2008/









        Attachments

          Activity

            People

            Assignee:
            eric.putnam Eric Putnam
            Reporter:
            eric.putnam Eric Putnam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support