X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..0a7242618f9444f2d603ab4e92fb23536e919edf:/cookbooks/db/recipes/base.rb?ds=sidebyside diff --git a/cookbooks/db/recipes/base.rb b/cookbooks/db/recipes/base.rb index 3f9920487..d032fb64e 100644 --- a/cookbooks/db/recipes/base.rb +++ b/cookbooks/db/recipes/base.rb @@ -33,6 +33,7 @@ directory "/srv/www.openstreetmap.org" do end rails_port "www.openstreetmap.org" do + ruby "2.1" directory "/srv/www.openstreetmap.org/rails" user "rails" group "rails" @@ -52,5 +53,5 @@ execute "/srv/www.openstreetmap.org/rails/db/functions/Makefile" do cwd "/srv/www.openstreetmap.org/rails/db/functions" user "rails" group "rails" - subscribes :run, resources(:git => "/srv/www.openstreetmap.org/rails") + subscribes :run, "git[/srv/www.openstreetmap.org/rails]" end