X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/418848d98ef1254285289a7a78724b89d790d76e..8517d5da18ea743e5c932fd90b8a0324ab50f3d0:/cookbooks/stateofthemap/recipes/default.rb diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index ce258b10a..c9eb827d5 100644 --- a/cookbooks/stateofthemap/recipes/default.rb +++ b/cookbooks/stateofthemap/recipes/default.rb @@ -306,9 +306,17 @@ end group "nogroup" end + # Workaround https://github.com/jekyll/jekyll/issues/7804 + # by creating a .jekyll-cache folder + directory "/srv/#{year}.stateofthemap.org/.jekyll-cache" do + mode 0o755 + owner "nobody" + group "nogroup" + end + execute "/srv/#{year}.stateofthemap.org/Gemfile" do action :nothing - command "bundle install --deployment --jobs 4 --retry 3" + command "bundle install --deployment" cwd "/srv/#{year}.stateofthemap.org" user "root" group "root"