[openstreetmap/openstreetmap-website] Update country.rb (#1758)
ardean80
notifications at github.com
Fri Feb 16 13:44:50 UTC 2018
Without adding "Rails.root.join(...)" (or something else returning a complete path to the countries.xml file) this error occurred:
"No such file or directory @ rb_sysopen - config/countries.xml"
I think it happened because it could not find that file through a relative path.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1758
-- Commit Summary --
* Update country.rb
-- File Changes --
M lib/country.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1758.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1758.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1758
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180216/fde503d9/attachment.html>
More information about the rails-dev
mailing list