Make Ruby 2.7.6 the default for the GDK
What does this Merge Request do and why?
This MR makes Ruby 2.7.6 the default for the GDK by bringing in additional supporting scripts - support/asdf-exec
and support/bundle-exec
which both execute commands in the context of asdf
to ensure the appropriate project's .tool-versions
file is used.
Impacted categories
The following categories relate to this merge request:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Steps to test
- Ensure Ruby 2.7.6 is not installed
mkdir ~/tmp
cd ~/tmp && git clone git@gitlab.com:gitlab-org/gitlab-development-kit.git
cd gitlab-development-kit && git checkout 1580-fresh-gdk-one-line-install-fails
make bootstrap
make install
gdk start --open-when-ready
Merge Request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise Issue to follow-up. -
Documentation added/updated, if needed. -
gdk doctor
test added, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.
Closes #1580 (closed)
Edited by Ash McKenzie