inspec/omnibus_overrides.rb
Vasundhara Jagdale 7b8bc020ad
Fix omnibus build which is picking ruby 2.7.4 which has vulnerability (#6341) (#6441)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-02-24 17:48:48 +05:30

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?