Comments (1)
Same problem on heroku here. It will update my local rails server through rails console though.
So far my guess is that it doesn't have write permissions to the csv file, as I believe heroku only allows writing to tmp/, which is ephemeral and wouldn't work for this gem
@steady-daddy here is what I did to fix it for me on heroku due to unwritable directories
- Forked the gem to my own github account
- Checked out a new branch from master
- Added the gem to my project's Gemfile with the path option specified to my cloned fork
- Ran
CS.update
from rails console - Added, committed, and pushed the changes on my fork
- Changed my Gemfile to grab from my branch on github (path won't work on heroku unless you bundle it in a project subdirectory of course, which I simply did not do for no particular reason)
- Pushed to heroku, it now uses my branch on my fork which I can keep updated as needed
from city-state.
Related Issues (20)
- NoMethodError: undefined method `present?' for :US:Symbol HOT 1
- missing city Surat
- Is there a plan to include timezone in?
- Singapore cities are missing but present in MaxMind DB HOT 2
- Typo correction "Tithari" should be changed to "Ithari" for Nepal HOT 2
- Failed to open TCP connection to geolite.maxmind.com:80 (getaddrinfo: No address associated with hostname) (SocketError) HOT 4
- Renaming a city or Delete city HOT 3
- How to access cities when tthere is no states present for a countrry.
- Permission errors on deploy
- "No such file or directory @ rb_sysopen <url>" when attempting update
- Not working with ruby 3.2 HOT 5
- Cannot list all existing cities to check if certain city exists or not right away
- Error "Did you mean? exist?" HOT 3
- Ruby with version 3.2.2 removed method exists? for class File HOT 1
- Capturing Address in MM
- Request: new gem release HOT 1
- `CS.countries` is giving `undefined method 'exists?' for File:Class` error HOT 2
- Adding a missing city is not working properly
- Most cities in Nigeria is not included. HOT 1
- NoMethodError (undefined method `set_license_key' for CS:Module)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from city-state.