Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoMethodError (undefined method `set_license_key' for CS:Module) #71

Open
iAaquibjawed opened this issue Apr 8, 2024 · 0 comments
Open

Comments

@iAaquibjawed
Copy link

  1. I want to update the db of citie state by following the guide.

MaxMind update their databases weekly on Tuesdays.

Since Dec 30, 2019, MaxMind requires a license key (for free) to get download updates.

To get the license key:

Sign up for a MaxMind account: https://www.maxmind.com/en/geolite2/signup
Create a license key: https://www.maxmind.com/en/accounts/current/license-key
There's no need to download anything.

To update.
CS.set_license_key('MY_KEY')

CS.update

and while doing this getting error of undefined method.
2.6.5 :002 > CS.set_license_key Traceback (most recent call last): 2: from (irb):2 1: from (irb):2:in rescue in irb_binding'
NoMethodError (undefined method set_license_key' for CS:Module)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant