From f99bf8c4e03ff84b5eacc9d95ae20b82911d8e46 Mon Sep 17 00:00:00 2001 From: James Stocks Date: Fri, 5 Jun 2020 11:04:11 +0100 Subject: [PATCH] Pin ffi to < 1.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 1.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 1.12 but now crash with 1.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..bc46f1cb 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", "< 1.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"