-
Notifications
You must be signed in to change notification settings - Fork 682
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
Support newest version with ruby 3.2 #6537
Comments
In case this isn't expected, also mentioning jhawthorn/pub_grub#30 here since my original issue with bundler is now closed. |
got the same issue on alpine docker image. ruby version is 3.2.2. inspec-bin version 5.21.29 installed fine, but 5.22.3 failed with dependency error. |
FWIW, not sure if a fix finally landed somewhere (since #6622 etc. are still in progress), but it worked for me today with Ruby 3.2 and bundler 2.4.14 for some reason. 🤷 |
It works out locally with Ruby version 3.2.x because k8-ruby changes for 3.2 were pulled in on inspec/k9s-ruby. |
Yup, totally understand, and thanks for the explanation about why! |
Describe the problem
Installing inspec v5.22.3 via bundler seems to fail on Ruby 3.2, apparently because of dependencies (I can file a bug under https://github.com/inspec/train-kubernetes as well if you'd like).
v5.21.29
seems to work fine as it did previously.Given the following Gemfile:
With older bundler versions, it just hangs forever (rubygems/rubygems#6686)
With the updated bundler version, the error is more helpful:
Possible Solution
The text was updated successfully, but these errors were encountered: