gdk command not available during one-line installation

Overview

The one-line installation (curl "https://gitlab.com/gitlab-org/gitlab-development-kit/-/raw/main/support/install" | bash) fails with a gdk: command not found error when running the gdk install step.

INFO: Bootstrap successful!
INFO: To make sure GDK commands are available in this shell, please run the command corresponding to your shell.

bash:
echo 'eval "$(/opt/homebrew/bin/mise activate bash)"' >> ~/.bashrc
echo 'eval "$(/opt/homebrew/bin/mise hook-env)"' >> ~/.bashrc

zsh:
echo 'eval "$(/opt/homebrew/bin/mise activate zsh)"' >> ~/.zshrc
echo 'eval "$(/opt/homebrew/bin/mise hook-env)"' >> ~/.zshrc
main: line 105: gdk: command not found

Impacted categories

The following categories relate to this issue:

Steps to replicate (optional)

Run curl "https://gitlab.com/gitlab-org/gitlab-development-kit/-/raw/main/support/install" | bash.

Proposal (optional)

Run gdk install with mise exec or asdf exec when mise or asdf is enabled. This makes sure it runs in the right environment without a shell restart during instllation.

Environment (optional)

  • Operating system name: <!-- output of `uname -a` command -->
  • Architecture: <!-- output of `arch` or `uname -m` command -->
  • The contents of your gdk.yml (if any)
  • Ruby version: <!-- output of `ruby --version` command -->
  • GDK version: <!-- output of `git rev-parse --short HEAD` command -->
Edited by Nao Hashizume