From 1d4defd986de28fe996384d06e2bc50c6e0766a3 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 15 Apr 2018 19:22:25 +0200 Subject: Fix generate piwik.yml Key for environment must be a string, not a symbol. --- lib/capistrano/tasks/configure_piwik.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano/tasks/configure_piwik.rake b/lib/capistrano/tasks/configure_piwik.rake index d503cb0..54f458b 100644 --- a/lib/capistrano/tasks/configure_piwik.rake +++ b/lib/capistrano/tasks/configure_piwik.rake @@ -7,7 +7,7 @@ namespace :deploy do on roles(:app) do unless test "[ -f #{output_file} ]" conf = { - fetch(:stage) => { + fetch(:stage).to_s => { 'piwik' => { 'id_site' => fetch(:piwik_site_id), 'url' => fetch(:piwik_url), -- cgit v1.2.3