From ffbecd5b257622fc4987d9d3024195658930b733 Mon Sep 17 00:00:00 2001 From: Pascal de Vink <106844+pascaldevink@users.noreply.github.com> Date: Mon, 26 Jun 2023 12:24:53 +0100 Subject: [PATCH] Replace brew prefix with dynamic lookup (#234) Homebrew changed their default installation location, so using /usr/local might not work out-of-the-box for everyone, and will not work for more and more people going forward. --- src/contributors/02-local-development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contributors/02-local-development.md b/src/contributors/02-local-development.md index 739a359..22e9cdc 100644 --- a/src/contributors/02-local-development.md +++ b/src/contributors/02-local-development.md @@ -54,7 +54,7 @@ macOS: ```bash brew install postgresql brew services start postgresql -/usr/local/opt/postgres/bin/createuser -s postgres +$(brew --prefix postgresql)/bin/createuser -s postgres ``` Either execute `scripts/db-init.sh`, or manually initialize the postgres database: