New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pin ffi to 1.12.2 due to Windows crash #5060
Conversation
See the verify pipeline build history for the failures this addresses: The bug manifests as InSpec quietly crashing on Windows for any command except |
Gemfile
Outdated
@@ -9,7 +9,7 @@ gem "inspec", path: "." | |||
# in it in order to package the executable. Hence the odd backwards dependency. | |||
gem "inspec-bin", path: "./inspec-bin" | |||
|
|||
gem "ffi", ">= 1.9.14" | |||
gem "ffi", "1.12.2" # 1.13 does not work on Windows: https://github.com/ffi/ffi/issues/784 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we loosen this to [">= 1.9.14", "< 1.13"] to allow flexibility in resolving this when packaging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, updated.
See ffi/ffi#784 Signed-off-by: James Stocks <jstocks@chef.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thanks very much for this @james-stocks ! I just ran this code on a windows machine that was broken yesterday and now up and running 100%! 🎉 🙏 |
See ffi/ffi#784
Signed-off-by: James Stocks jstocks@chef.io