Skip to content

Commit

Permalink
(maint) Pin ffi on Windows
Browse files Browse the repository at this point in the history
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
  • Loading branch information
GabrielNagy committed Apr 3, 2020
1 parent 7a1a600 commit ed404fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configs/components/rubygem-ffi.rb
Expand Up @@ -7,6 +7,9 @@
# Windows versions of the FFI gem have custom filenames, so we overwite the
# defaults that _base-rubygem provides here, just for Windows.
if platform.is_windows?
# Pin ffi on Windows due to win32-service failures
# see: https://github.com/chef/win32-service/issues/70
pkg.version '1.9.25'
# Vanagon's `pkg.mirror` is additive, and the _base_rubygem sets the
# non-Windows gem as the first mirror, which is incorrect. We need to unset
# the list of mirrors before adding the Windows-appropriate ones here:
Expand Down

0 comments on commit ed404fa

Please sign in to comment.