]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/blogs/templates/default/blogs-update.erb
Use correct user for osm2pgsql exporter on raster servers
[chef.git] / cookbooks / blogs / templates / default / blogs-update.erb
index 0125b41badc5c16191a4a31481ac1e1374a8ee55..a7d02149531690c68f7ad6e96bf6739cbb7d822f 100644 (file)
@@ -2,7 +2,9 @@
 
 cd /srv/blogs.openstreetmap.org
 
-/usr/bin/bundle<%= @ruby_version %> exec pluto \
+export BUNDLE_PATH="vendor/bundle"
+
+<%= node[:ruby][:bundle] %> exec pluto \
        --quieter \
        --config=/srv/blogs.openstreetmap.org build \
        --dbpath=/srv/blogs.openstreetmap.org \