mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: rake maxminddb:get broke cause it required environment
This commit is contained in:
parent
ec02696fa2
commit
e4e2acf148
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
require_dependency 'discourse_ip_info'
|
||||
|
||||
desc "downloads MaxMind's GeoLite2-City database"
|
||||
task "maxminddb:get" do
|
||||
task "maxminddb:get" => :environment do
|
||||
puts "Downloading MaxMindDb's GeoLite2-City..."
|
||||
DiscourseIpInfo.mmdb_download('GeoLite2-City')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue