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