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

GeoIp.dat on heroku #44

Closed
mjurin opened this issue Mar 4, 2014 · 1 comment
Closed

GeoIp.dat on heroku #44

mjurin opened this issue Mar 4, 2014 · 1 comment

Comments

@mjurin
Copy link

mjurin commented Mar 4, 2014

Hello,

where do I have to save this file and how to access it to get it work on Heroku. On my local machine I can access it, but on Heroku I have tried to put it in lib/assets, public, in the root but I always get that there is not such file.

Thanks

@cjheath
Copy link
Owner

cjheath commented Mar 5, 2014

I don't know Heroku well enough to answer. However, before you try to open the file, check the working directory. Perhaps construct your file pathname beginning with ENV['RAILS_ROOT']. List the directory contents if you think you're already in the right place. If those don't help you, I'm out of answers and you should ask Heroku.

@cjheath cjheath closed this as completed Mar 5, 2014
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

2 participants