-
Notifications
You must be signed in to change notification settings - Fork 135
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
Unable to update from Rails console, changes lost after closing console #31
Comments
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
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I had to update the city-state gem to get the latest data. I ran CS.update from Rails console and checked the results. I got updated data but as soon as I close Rails console on Heroku, the changes were lost.
Am I missing a step here? Please provide some assistance ASAP.
Thank you.
The text was updated successfully, but these errors were encountered: