[openstreetmap/openstreetmap-website] Fix Postgres.app PATH on macOS (PR #6340)

naalpinist notifications at github.com
Thu Aug 21 05:53:10 UTC 2025


<!--
Please read the contributing guidelines before making a PR:
  https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md

Pay particular attention to the section on how to present PRs:
  https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md#pull-requests
-->

### Description
In INSTALL.md:
```
- export PATH=/Applications/Postgres.app/Contents/MacOS/bin:$PATH
+ export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
```
The current path can lead to psql not being found. The CLI tools live under Contents/Versions/[version]/bin with a stable Versions/latest/bin symlink. 

### How has this been tested?
Docs change only. I verified locally on macOS by trying both paths and confirming psql only resolves from …/Versions/latest/bin. 

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6340

-- Commit Summary --

  * correct psql path

-- File Changes --

    M INSTALL.md (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6340.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6340.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6340
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6340 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250820/117ebafd/attachment-0001.htm>


More information about the rails-dev mailing list