mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 08:19:13 +00:00
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…
x
Reference in New Issue
Block a user