]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/blogs/templates/default/blogs-update.erb
blogs: fix build in test
[chef.git] / cookbooks / blogs / templates / default / blogs-update.erb
index ef880cdf875151c700f9470134b6526e71220932..a7d02149531690c68f7ad6e96bf6739cbb7d822f 100644 (file)
@@ -2,7 +2,9 @@
 
 cd /srv/blogs.openstreetmap.org
 
-/usr/local/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 \