Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use default for asdfrc tool versions setting #750

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

geoffharcourt
Copy link
Collaborator

https://asdf-vm.com/manage/configuration.html#full-configuration-example
https://asdf-vm.com/manage/configuration.html#legacy-version-file

In #654 we configured asdf to use a "legacy version file" for picking
languages. This enabled us to continue using.ruby-version to declare
the Ruby version in a project.

Now that the Gemfile spec supports the use of .tool-versions, we can
set this setting to leverage the file and avoid declaring the Ruby (or
Node, etc.) versions of runtimes in multiple places in a project.

This setting is can be overridden on a per-project basis with a local
.asdfrc file.

https://asdf-vm.com/manage/configuration.html#full-configuration-example
https://asdf-vm.com/manage/configuration.html#legacy-version-file

In #654 we configured asdf to use a "legacy version file" for picking
languages. This enabled us to continue using`.ruby-version` to declare
the Ruby version in a project.

Now that the Gemfile spec supports the use of `.tool-versions`, we can
set this setting to leverage the file and avoid declaring the Ruby (or
Node, etc.) versions of runtimes in multiple places in a project.

This setting is can be overridden on a per-project basis with a local
`.asdfrc` file.
@geoffharcourt geoffharcourt marked this pull request as ready for review June 23, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant