Details
-
CI Blocker
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
acl, chocolatey , dsc, powershell, reboot, registry, sqlserver, wsus_client
-
None
-
Ruby < 2.1.9.1
Windows 2008 and 2012
-
modules
-
Modules
-
Modules 2017-01-25
-
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/