]> git.openstreetmap.org Git - chef.git/blob - cookbooks/ruby/attributes/default.rb
Centralise ruby installation in a new cookbook
[chef.git] / cookbooks / ruby / attributes / default.rb
1 default[:ruby][:version] = if node[:lsb][:release].to_f < 20.04
2                              "2.5"
3                            else
4                              "2.7"
5                            end
6 default[:ruby][:bundle] = "/usr/bin/bundle#{node[:ruby][:version]}"