+# Workaround https://github.com/jekyll/jekyll/issues/7804
+# by creating a .jekyll-cache folder
+directory "/srv/hardware.openstreetmap.org/.jekyll-cache" do
+ mode "755"
+ owner "nobody"
+ group "nogroup"
+end
+
+execute "/srv/hardware.openstreetmap.org/Gemfile" do
+ action :nothing
+ command "bundle install --deployment"
+ cwd "/srv/hardware.openstreetmap.org"
+ user "root"
+ group "root"
+ notifies :run, "execute[/srv/hardware.openstreetmap.org]"
+end
+