From 25208d58b707cddc5a9cd3898083311cf240e346 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Date: Wed, 26 Aug 2026 21:46:52 -0400 Subject: [PATCH] Point the docker installer at dev-core's keg The tap restructured dev into dev-core (the tool) plus dev (the org deployment: config + a dependency edge), but the docker build-deps installer still resolved DEV_HOME/GEM_HOME through `brew --prefix dev` - whose keg now carries only docs and etc config, so every image rebuild died with "No such file or directory -- .../opt/dev/libexec/dev/bin/ install-build-deps.rb". The image only runs install-build-deps.rb, which needs no org identity: install dev-core directly and resolve its keg. Co-authored-by: Cursor --- bin/docker-install-build-deps.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/bin/docker-install-build-deps.sh b/bin/docker-install-build-deps.sh index 011ddba..9345201 100755 --- a/bin/docker-install-build-deps.sh +++ b/bin/docker-install-build-deps.sh @@ -56,13 +56,17 @@ if [ -n "$DEV_REF" ]; then git clone --depth 1 --branch "$DEV_REF" https://github.com/d3mlabs/dev.git /tmp/dev DEV_HOME=/tmp/dev else - echo ">>> Installing dev (latest release from the d3mlabs tap)" - brew install --quiet d3mlabs/d3mlabs/dev + echo ">>> Installing dev-core (latest release from the d3mlabs tap)" + # dev-core is the tool; the `dev` formula is the org DEPLOYMENT (org + # config + a dependency edge on dev-core). The image only runs + # install-build-deps.rb, which reads the project's dependencies.rb and + # needs no org identity, so install the tool directly. + brew install --quiet d3mlabs/d3mlabs/dev-core # The formula lays the tree out under libexec/dev with vendored gems in - # libexec (see homebrew-d3mlabs/Formula/dev.rb); mirror its wrapper env so - # the keg's scripts resolve their gems. - DEV_HOME="$(brew --prefix dev)/libexec/dev" - export GEM_HOME="$(brew --prefix dev)/libexec" + # libexec (see homebrew-d3mlabs/Formula/dev-core.rb); mirror its wrapper + # env so the keg's scripts resolve their gems. + DEV_HOME="$(brew --prefix dev-core)/libexec/dev" + export GEM_HOME="$(brew --prefix dev-core)/libexec" export GEM_PATH="$GEM_HOME" fi