inspec/omnibus_overrides.rb
Clinton Wolfe 11784ceb5d
Fix omnibus build which is picking ruby 2.7.4 which has vulnerability (#6341)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-01-03 10:02:48 -05:00

9 lines
312 B
Ruby

# THIS IS NOW HAND MANAGED, JUST EDIT THE THING
# grab the current train release from rubygems.org
train_stable = /^train \((.*)\)/.match(`gem list ^train$ --remote`)[1]
override "train", version: "v#{train_stable}"
override "ruby", version: "3.1.2"
# Mac m1
override "openssl", version: "1.1.1m" if mac_os_x?