]> git.openstreetmap.org Git - chef.git/blob - cookbooks/ruby/attributes/default.rb
Revert "Blackhole unreachable Amazon IPv6 block on equinix machines"
[chef.git] / cookbooks / ruby / attributes / default.rb
1 default[:ruby][:version] = if platform?("debian")
2                              "3.1"
3                            elsif node[:lsb][:release].to_f < 22.04
4                              "2.7"
5                            else
6                              "3.0"
7                            end
8 default[:ruby][:gem] = "/usr/bin/gem#{node[:ruby][:version]}"
9 default[:ruby][:bundle] = "/usr/bin/bundle#{node[:ruby][:version]}"