From 4c20fc6dfbd3d1d1ea46bac0b14c11fade6bb7d7 Mon Sep 17 00:00:00 2001 From: mmporong Date: Wed, 28 Oct 2026 04:08:13 +0900 Subject: [PATCH] Remove references to the unsupported config/application.yml The application now refuses to start when config/application.yml exists, and settings live in config/settings.yml. Drop the macOS note that asked people to edit GPX directories in that file (trace files are kept by Active Storage, under the Rails root with the example storage configuration) and point the bbox comments in the map and tracepoints controllers at config/settings.yml. --- app/controllers/api/maps_controller.rb | 2 +- app/controllers/api/tracepoints_controller.rb | 2 +- doc/MANUAL_INSTALL.md | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/controllers/api/maps_controller.rb b/app/controllers/api/maps_controller.rb index 0784667d1..b8cd30d63 100644 --- a/app/controllers/api/maps_controller.rb +++ b/app/controllers/api/maps_controller.rb @@ -18,7 +18,7 @@ module Api def show # Figure out the bbox # check boundary is sane and area within defined - # see /config/application.yml + # see config/settings.yml begin raise OSM::APIBadUserInput, "The parameter bbox is required" unless params[:bbox] diff --git a/app/controllers/api/tracepoints_controller.rb b/app/controllers/api/tracepoints_controller.rb index c990ebafd..a794d2dc2 100644 --- a/app/controllers/api/tracepoints_controller.rb +++ b/app/controllers/api/tracepoints_controller.rb @@ -19,7 +19,7 @@ module Api # Figure out the bbox # check boundary is sane and area within defined - # see /config/application.yml + # see config/settings.yml begin raise OSM::APIBadUserInput, "The parameter bbox is required" unless params[:bbox] diff --git a/doc/MANUAL_INSTALL.md b/doc/MANUAL_INSTALL.md index a89f02bc5..06cb6464f 100644 --- a/doc/MANUAL_INSTALL.md +++ b/doc/MANUAL_INSTALL.md @@ -104,9 +104,6 @@ If you want to run the tests, you need `geckodriver` as well: brew install geckodriver ``` -> [!NOTE] -> OS X does not have a /home directory by default, so if you are using the GPX functions, you will need to change the directories specified in config/application.yml. - ## Step 2: Clone the Repository The repository is reasonably large (~560MB) and it's unlikely that you'll need the full history. Therefore you can probably do with a shallow clone (~100MB): -- 2.47.3