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

Update country.rb #1758

Merged
merged 1 commit into from Feb 23, 2018
Merged

Update country.rb #1758

merged 1 commit into from Feb 23, 2018

Conversation

ardean80
Copy link
Contributor

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.

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.
@gravitystorm gravitystorm merged commit c32a630 into openstreetmap:master Feb 23, 2018
@gravitystorm
Copy link
Collaborator

Thanks! I couldn't reproduce the problem you report, but the solution looks good to me in any case.

@tomhughes
Copy link
Member

It will only happen if the current directory isn't the same as the rails root, which probably depends on the server you are using.

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

Successfully merging this pull request may close these issues.

None yet

3 participants