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

276 - Update .ruby-version file to 3.2.2 #277

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

Janell-Huyck
Copy link
Contributor

Fixes #276

The change in the .ruby-version file from ruby-3.2.2 to 3.2.2, is actually a minor but important detail. This file is used by version management tools like rbenv or RVM to automatically set the Ruby version for the project.

With the ruby- Prefix: When the version is specified with the ruby- prefix (like ruby-3.2.2), it's typically a convention followed by RVM. RVM understands this prefix and sets the appropriate Ruby version for the project.

Without the ruby- Prefix: On the other hand, when the version is specified without the prefix (just 3.2.2), it's more universally recognized, especially by rbenv. Rbenv prefers the version number without any prefix.

The decision to change this file should be based on the version manager your project and team are using. If there's a mix or if you're using rbenv, keeping the version number without the prefix (3.2.2) would be more inclusive and less error-prone.

@hortongn hortongn merged commit d2e052c into qa Nov 21, 2023
3 checks passed
@hortongn hortongn deleted the update-276-make-ruby-version-file-compatible-rvm-rbenv branch November 21, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update .ruby-version to reflect mixed use of rvm and rbenv
2 participants