FIX: maxminddb:get task no longer working

Following our zeitwerk upgrade we needed to be more explicit about the
require
This commit is contained in:
Sam Saffron 2019-10-04 09:47:22 +10:00
parent 1d5c2b36f6
commit 6471fbd453
1 changed files with 2 additions and 0 deletions

View File

@ -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')