Skip to content

Commit ed404fa

Browse files
committed
(maint) Pin ffi on Windows
Pin ffi on Windows due to pxp-agent tests failing. Even though they are deprecation warnings, having output on stderr may break things in unexpected ways. See: chef/win32-service#70
1 parent 7a1a600 commit ed404fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configs/components/rubygem-ffi.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# Windows versions of the FFI gem have custom filenames, so we overwite the
88
# defaults that _base-rubygem provides here, just for Windows.
99
if platform.is_windows?
10+
# Pin ffi on Windows due to win32-service failures
11+
# see: https://github.com/chef/win32-service/issues/70
12+
pkg.version '1.9.25'
1013
# Vanagon's `pkg.mirror` is additive, and the _base_rubygem sets the
1114
# non-Windows gem as the first mirror, which is incorrect. We need to unset
1215
# the list of mirrors before adding the Windows-appropriate ones here:

0 commit comments

Comments
 (0)