Check asdf compatibility per command
requested to merge davebarr/gitlab-development-kit:1358-gdk-reconfigure-with-rbenv-asdf-combo into main
What does this Merge Request do and why?
Rather than assuming asdf
is responsible for everything, we now check on a per command basis.
As an example use case, this improves support for where rbenv
is responsible for ruby
and asdf
for everything else.
Additionally, it prepends the bundle
command with prefix_with_asdf_if_available
, which I believe will resolve #1358 (closed).
I didn't look at how this should be tested - happy to be pointed in the right direction for this so I can add it in.
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
.