unknown command: bundle. Perhaps you have to reshim? when trying to run gdk install
Overview
I tried to install GDK, and I got these errors:
Bundle check failed. Installing gems using bundle install...
unknown command: bundle. Perhaps you have to reshim?
make: *** [support/makefiles/Makefile.test.mk:12: gdk_bundle_install] Error 1
❌️ ERROR: Failed to install.
-------------------------------------------------------
You can try the following that may be of assistance:
- Run 'gdk doctor'.
- Visit the troubleshooting documentation:
https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/troubleshooting/index.md.
- Visit https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues to
see if there are known issues.
- Run 'gdk reset-data' if appropriate.
- Run 'gdk pristine' which will restore your GDK to a pristine state.
-------------------------------------------------------
I tried to run bundle install and I get this output:
Bundle complete! 13 Gemfile dependencies, 97 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
so everything should be good, but it complains still? then when I try to run gdk doctor , I get this output:
oof@oof-h8-1440eo:~/work/gitlab-development-kit$ gdk doctor
⚠️ WARNING: GDK has not been installed so cannot run 'gdk doctor'. Try running `gem install gitlab-development-kit` again.
the output of gem install gitlab-development-kit is this:
Successfully installed gitlab-development-kit-0.2.18
Parsing documentation for gitlab-development-kit-0.2.18
Done installing documentation for gitlab-development-kit after 0 seconds
1 gem installed
Impacted categories
The following categories relate to this issue:
-
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 replicate (optional)
Proposal (optional)
Environment (optional)
- Operating system name:
Linux oof-h8-1440eo 5.15.0-112-generic #122-Ubuntu SMP Thu May 23 07:48:21 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux - Architecture:
x86_64 - The contents of your
gdk.yml:(empty for me) - Ruby version:
ruby 3.4.0dev (2024-02-09T12:28:26Z master 08b77dd682) [x86_64-linux - GDK version:
93f45ae2