From b66adbaba75f4c722ed72e1f8c25ccd9e084639a Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 26 Apr 2018 11:29:47 +0200 Subject: [PATCH] Refactoring: Execute AutoWizard.setup instead of starting a new process since we are already in the Rails application context. --- 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 c653b71a6..52d3b1a3e 100644 --- a/lib/tasks/bootstrap.rake +++ b/lib/tasks/bootstrap.rake @@ -23,5 +23,5 @@ end def run_auto_wizard FileUtils.ln(AUTO_WIZARD[:source], AUTO_WIZARD[:destination], force: true) - system('rails runner "AutoWizard.setup"') + AutoWizard.setup end