From ee0b51b670f25e156ec7ef86ec546b0cd8950fb6 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 26 Apr 2018 11:28:23 +0200 Subject: [PATCH] Fixed bug: Missing file extension causes flushing of wrong file. --- lib/tasks/bootstrap.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/bootstrap.rake b/lib/tasks/bootstrap.rake index 93f49bc05..c653b71a6 100644 --- a/lib/tasks/bootstrap.rake +++ b/lib/tasks/bootstrap.rake @@ -12,7 +12,7 @@ namespace :bs do end APP_CACHE = Dir.glob(Rails.root.join('tmp', 'cache*')) -SERVER_LOG = Rails.root.join('log', Rails.env) +SERVER_LOG = Rails.root.join('log', "#{Rails.env}.log") AUTO_WIZARD = { source: Rails.root.join('contrib', 'auto_wizard_test.json'), destination: Rails.root.join('auto_wizard.json') }.freeze