From 253f8a4f703f38e96051b375f7bba7cb0d29ce87 Mon Sep 17 00:00:00 2001 From: Tim Fischbach Date: Wed, 27 Dec 2017 15:22:55 +0100 Subject: [PATCH] Move rake task dependency from namespace to task --- lib/cert_watch/tasks.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cert_watch/tasks.rb b/lib/cert_watch/tasks.rb index 9d4c129..d474d7a 100644 --- a/lib/cert_watch/tasks.rb +++ b/lib/cert_watch/tasks.rb @@ -5,9 +5,9 @@ module Tasks extend Rake::DSL namespace :cert_watch do - namespace reinstall: :environment do + namespace :reinstall do desc 'Rewrite certificate files from database contents.' - task :all do + task all: :environment do Certificate.installed.each(&:install) end end