Open evandam opened 11 months ago
There is a larger discussion around this here on rails/rails: https://github.com/rails/rails/issues/49495#issuecomment-1749085658
There is a related cocoapods issue, so there may be learnings to be gathered here: https://github.com/CocoaPods/CocoaPods/pull/12082
e.g. ensure requires are happening for activesupport when used outside of rails ecosystem
Ah, I lost my contributor badge! 😔 Maybe it's because my old Chef work email is no longer tied to this account or something
@Schwad @evandam https://github.com/inspec/inspec-k8s/pull/37
@ahasunos nice!
Version:
Train 3.10.8
Environment:
MacOS Sonoma, InSpec 5.22.3, Ruby 3.1.4
InSpec installed and managed via Bundler:
Scenario:
Run a basic profile. I'm seeing the issue against a Kubernetes target, but I don't believe the issue is specific to train-kubernetes, but rather the version of ActiveSupport that Train is using.
I believe it can be resolved by tweaking the dependency version to something like
~> 7.0.0
instead of>= 6.0.3.1
. There's some discussion in https://github.com/inspec/inspec/issues/6527Steps to Reproduce:
Use the Gemfile mentioned above, and a similar
inspec.yml
for a profile:Run InSpec:
Expected Result:
InSpec runs as expected.
Actual Result: