geocoder
geocoder copied to clipboard
[BREAKING] Significant Changes to Accessing and Using GeoLite2 Databases
Copy-pasting key points from https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/:
Starting December 30, 2019, we will be requiring users of our GeoLite2 databases to register for a MaxMind account and obtain a license key in order to download GeoLite2 databases.
Starting December 30, 2019, downloads will no longer be served from our public GeoLite2 page, from geolite.maxmind.com/download/geoip/database/*, or from any other public URL.
See Steps for Migration:
- Sign up for a MaxMind account (no purchase required)
- Set your password and create a license key
- Setup your download mechanism by using our GeoIP Update program or creating a direct download script
So Geocoder:: MaxmindDatabase.base_url is no longer valid.
P.S.: Sorry, I'm not going to submit a PR as I'm not a user of rake geocoder:maxmind:geolite:*. Otherwise I'd probably contribute.
Thanks for reporting this!
Hey 👋 We don't use geocoder (yet!) but I've just fixed this in https://github.com/mysociety/alaveteli/pull/5524/ for our homebrew downloader. Quite an easy fix, but thought it worth noting to give someone a leg up in fixing it here.
Code looks so similar to what I did in my project 😄
Thanks @garethrees! Also, I hadn't heard of Alaveteli but looks like a very cool project.
Thanks, and no problem. I did just have a go at installing geocoder locally to have a stab at contributing a fix, but bundle just seems to take forever at the "Resolving dependencies" step. Currently using ruby 2.6.5p114 via brew on macOS Mojave. Seems to be similar issue to https://github.com/bundler/bundler/issues/2125 🤷♀
@garethrees that's odd since Geocoder has no dependencies. Is it possible it's something else in your Gemfile?
@garethrees Sorry, I see what you mean--development dependencies. Thanks for posting in a separate issue.