From 0559aa7bdc5548f7a90b8585a6fea369e2f358ac Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 18 Jul 2018 18:36:07 +0100 Subject: [PATCH] Disable warnings from the daiy statistics script --- cookbooks/web/templates/default/statistics.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/web/templates/default/statistics.erb b/cookbooks/web/templates/default/statistics.erb index 4fc94857e..a42357ba8 100644 --- a/cookbooks/web/templates/default/statistics.erb +++ b/cookbooks/web/templates/default/statistics.erb @@ -7,7 +7,7 @@ set -e export PATH=$PATH:/usr/local/bin # Generate new statistics -<%= @ruby %> <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html +<%= @ruby %> -W0 <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html # Move new statistics into place mv -f <%= @directory %>/tmp/data_stats.html /store/rails/stats -- 2.43.2