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:
parent
1d5c2b36f6
commit
6471fbd453
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue