Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions bin/docker-install-build-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading