My chef is running on 12.21.31 version, and my ruby version is:
ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-linux]
Last monday was realease new chef vault (4.0.1), and it requires ruby >= 2.4.
I would like to keep running on the current version, but my
run_list force an automatic gem update, and it breaks.
Fetching gem metadata from rubygems .org /............
Fetching version metadata from rubygems . org/...
Fetching dependency metadata from rubygems . org/..
Installing chef-vault 4.0.1
Gem::InstallError: chef-vault requires Ruby version >= 2.4. Using ruby-dbus 0.16.0 Using bundler 1.12.5 An error occurred while installing chef-vault (4.0.1), and Bundler cannot continue. Make sure that `gem install chef-vault -v '4.0.1'` succeeds before bundling. STDERR: ---- End output of bundle install ----
I've already tried to set the version
3.4.3 in the attribute
['chef-vault']['version'] in the chef-vault cookbook, but it didn't work.
How can I fix this without upgrade my chef ? Any else is facing the same issue ?