X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7f059d628300c07f7832cdede923d468d0f81085..66c8810de3626826ca758bf47b0def637254c97c:/cookbooks/db/recipes/base.rb diff --git a/cookbooks/db/recipes/base.rb b/cookbooks/db/recipes/base.rb index ae0b21604..f24e42e93 100644 --- a/cookbooks/db/recipes/base.rb +++ b/cookbooks/db/recipes/base.rb @@ -32,14 +32,8 @@ directory "/srv/www.openstreetmap.org" do mode 0o2775 end -ruby_version = if node[:lsb][:release].to_f >= 16.04 - "2.3" - else - "2.1" - end - rails_port "www.openstreetmap.org" do - ruby ruby_version + ruby "2.3" directory "/srv/www.openstreetmap.org/rails" user "rails" group "rails"