gdk reconfigure doesn't work with rbenv and insists on using asdf
Overview
I use rbenv
to manage my ruby
versions. When I run gdk reconfigure
, I now see:
$ gdk reconfigure
--------------------------------------------------------------------------------
Ensuring all required versions of bundler are installed
--------------------------------------------------------------------------------
No preset version installed for command gem
Please install a version by running one of the following:
asdf install ruby 2.7.4
asdf install ruby 3.0.2
or add one of the following versions in your config file at /Users/stanhu/gdk-ee/.tool-versions
ruby 2.7.2
ruby 2.6.6
No preset version installed for command gem
Please install a version by running one of the following:
asdf install ruby 2.7.4
asdf install ruby 3.0.2
or add one of the following versions in your config file at /Users/stanhu/gdk-ee/.tool-versions
Steps to replicate (optional)
Proposal (optional)
Environment (optional)
- Operating system: macOS
- The contents of your
gdk.yml
- Ruby version:
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-darwin19]
- GDK version: 199e2f06