Skip to content

Commit

Permalink
Pin ffi to < 0.13
Browse files Browse the repository at this point in the history
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 ffi/ffi#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 <jstocks@chef.io>
  • Loading branch information
James Stocks committed Jun 5, 2020
1 parent 0b5fd08 commit 24a5e69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions train-core.gemspec
Expand Up @@ -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"
Expand Down

0 comments on commit 24a5e69

Please sign in to comment.