From 24a5e69c12b54eb0984ac9055a44783c2f69067e Mon Sep 17 00:00:00 2001 From: James Stocks Date: Fri, 5 Jun 2020 11:04:11 +0100 Subject: [PATCH] Pin ffi to < 0.13 Our tests are failing on Windows: https://buildkite.com/chef-oss/inspec-train-master-verify/builds/395#18f8c2af-6501-4258-bdbf-0f8af87ce9e7 ``` rake aborted! SignalException: SIGSEGV ``` See https://github.com/ffi/ffi/issues/784 - ffi 0.13 introduces segmentation faults. These are not ffi's fault directly, other gems that are not using ffi 100% correctly get away with it in ffi 0.12 but now crash with 0.13. Signed-off-by: James Stocks --- train-core.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/train-core.gemspec b/train-core.gemspec index 20ee9de9..b56edf30 100644 --- a/train-core.gemspec +++ b/train-core.gemspec @@ -28,6 +28,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_dependency "addressable", "~> 2.5" + spec.add_dependency "ffi", "< 0.13" spec.add_dependency "json", ">= 1.8", "< 3.0" spec.add_dependency "mixlib-shellout", ">= 2.0", "< 4.0" spec.add_dependency "net-scp", ">= 1.2", "< 4.0"