From 95ee5a5656ac0145e76db98bca5e11999dc000a5 Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Fri, 19 Sep 2025 06:30:06 -0400 Subject: [PATCH] Pre-install asdf and mise (#284) * Pre-install asdf * Install mise --- templates/base.pkr.hcl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/base.pkr.hcl b/templates/base.pkr.hcl index a2759d4..b2427c8 100644 --- a/templates/base.pkr.hcl +++ b/templates/base.pkr.hcl @@ -105,6 +105,9 @@ build { "brew install libyaml", # https://github.com/rbenv/ruby-build/discussions/2118 "brew install rbenv", "echo 'if which rbenv > /dev/null; then eval \"$(rbenv init -)\"; fi' >> ~/.zprofile", + "brew install asdf", + "echo 'export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"' >> ~/.zprofile", + "brew install mise", "source ~/.zprofile", "rbenv install 2.7.8", // latest 2.x.x before EOL "rbenv install -l | grep -v - | tail -2 | xargs -L1 rbenv install",