]> git.openstreetmap.org Git - chef.git/blob - cookbooks/ruby/attributes/default.rb
Use ruby 3.0 on Ubuntu 22.04
[chef.git] / cookbooks / ruby / attributes / default.rb
1 default[:ruby][:version] = if node[:lsb][:release].to_f < 22.04
2                              "2.7"
3                            else
4                              "3.0"
5                            end
6 default[:ruby][:bundle] = "/usr/bin/bundle#{node[:ruby][:version]}"