From 6471fbd453252d9ae81dfb4eec7a7fb8daa18f65 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Fri, 4 Oct 2019 09:47:22 +1000 Subject: [PATCH] FIX: maxminddb:get task no longer working Following our zeitwerk upgrade we needed to be more explicit about the require --- lib/tasks/maxminddb.rake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tasks/maxminddb.rake b/lib/tasks/maxminddb.rake index e85e7486410..4565f34258b 100644 --- a/lib/tasks/maxminddb.rake +++ b/lib/tasks/maxminddb.rake @@ -2,6 +2,8 @@ desc "downloads MaxMind's GeoLite2-City database" task "maxminddb:get" do + require 'discourse_ip_info' + puts "Downloading MaxMindDb's GeoLite2-City..." DiscourseIpInfo.mmdb_download('GeoLite2-City')