mirror of
https://github.com/discourse/discourse.git
synced 2025-02-12 03:06:16 +08: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"
|
desc "downloads MaxMind's GeoLite2-City database"
|
||||||
task "maxminddb:get" do
|
task "maxminddb:get" do
|
||||||
|
require 'discourse_ip_info'
|
||||||
|
|
||||||
puts "Downloading MaxMindDb's GeoLite2-City..."
|
puts "Downloading MaxMindDb's GeoLite2-City..."
|
||||||
DiscourseIpInfo.mmdb_download('GeoLite2-City')
|
DiscourseIpInfo.mmdb_download('GeoLite2-City')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user