mirror of
https://github.com/inspec/inspec
synced 2024-12-04 02:19:50 +00:00
b25f13cd56
Now that Ruby 2.7.2 no longer throws deprecation warnings left and right we should update InSpec to use the latest and greatest Ruby that we use in Chef Infra Client and Workstation. Signed-off-by: Tim Smith <tsmith@chef.io>
6 lines
251 B
Ruby
6 lines
251 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: "2.7.2"
|