From 0fb75cea1cb78d2f8050320f9aca4c35ea1c45f4 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Thu, 26 Apr 2018 15:22:41 -0700 Subject: pin ffi to avoid el6/el7 bugginess absolutely unknown what this bug is, but it seems to fix specs on el6/el7 Signed-off-by: Lamont Granquist --- chef.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chef.gemspec b/chef.gemspec index b829d96e22..63e4192652 100644 --- a/chef.gemspec +++ b/chef.gemspec @@ -24,6 +24,8 @@ Gem::Specification.new do |s| s.add_dependency "mixlib-archive", "~> 0.4" s.add_dependency "ohai", "~> 14.0" + # ffi 1.9.22+1.9.23 are buggy in our spec/unit/application/client_spec.rb tests on el6/el7 + s.add_dependency "ffi", "< 1.9.22" s.add_dependency "ffi-yajl", "~> 2.2" s.add_dependency "net-ssh", "~> 4.2" s.add_dependency "net-ssh-multi", "~> 1.2", ">= 1.2.1" -- cgit v1.2.1