mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 11:37:58 +00:00
The current task for loading `GeoLite2-City.mmdb` doesn't work for all build types. This PR addresses this and move the task to initializer to ensure consistency across environments. --------- Co-authored-by: Sojan Jose <sojan@pepalo.com> Co-authored-by: Sojan Jose <sojan.official@gmail.com>
8 lines
131 B
Ruby
8 lines
131 B
Ruby
require 'rubygems/package'
|
|
|
|
namespace :ip_lookup do
|
|
task setup: :environment do
|
|
Geocoder::SetupService.new.perform
|
|
end
|
|
end
|