]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/statistics.erb
Run statistics and cleanup scripts with right ruby version
[chef.git] / cookbooks / web / templates / default / statistics.erb
index 87386a23d6d5e040572209aa001c5f49bb295459..ccfe956cc3fa958a72d2b4a68604d9e0ac7088d8 100644 (file)
@@ -4,7 +4,7 @@
 export PATH=$PATH:/usr/local/bin
 
 # Generate new statistics
-<%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html
+<%= @ruby %> <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html
 
 # Move new statistics into place
 mv -f <%= @directory %>/tmp/data_stats.html /store/rails/stats