This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

ActionView::Template::Error: couldn’t find file ‘settings.local.yml’

0

I'm trying to setup a Openstreetmap Website (old The Rails Port) following the instructions at https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md but got stuck in the last step before running the server. When I run the command "bundle exec rake db:create" it makes a long test with several lines of messages (thousands of lines I think) but most of them are very similar with repeated messages and an error that repeats among all of them: ActionView::Template::Error: couldn't find file 'settings.local.yml' A copy of part of the error is at this link: https://gist.github.com/caduguedess/ccf911088775eaf644893352be23e865 I would appreciate if somebody knows how to adress this issue. When I browse for localhost:3000 this is what I get: alt text

I'm on Ubuntu 18.04 Thanks.

asked 05 Jul '19, 00:07

carlosguedes's gravatar image

carlosguedes
9191016
accept rate: 0%


One Answer:

1

This is a bug in the way that the codebase works right now. You need to create a blank file in the config directory called settings.local.yml, for example by running

$ touch config/settings.local.yml

See https://github.com/openstreetmap/openstreetmap-website/issues/2185 for more information.

answered 05 Jul '19, 09:24

Andy%20Allan's gravatar image

Andy Allan
12.5k23128153
accept rate: 28%