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

Specify Ruby with .ruby-version in Gemfile #2470

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

smaboshe
Copy link
Contributor

Gemfile allows on to use a file argument to specify where to get the Ruby version.

This commit implements this to get the Ruby version from .ruby-version. This will reduce the number of edits to make when upgrading the Ruby version in the future.

Ref:

`Gemfile` allows on to use a `file` argument to specify where to get the
Ruby version.

This commit implements this to get the Ruby version from
`.ruby-version`. This will reduce the number of edits to make when
upgrading the Ruby version in the future.

Ref:
- https://andycroll.com/ruby/read-ruby-version-in-your-gemfile/
@smaboshe smaboshe self-assigned this Apr 26, 2024
@smaboshe smaboshe merged commit dbdb1d0 into main Apr 26, 2024
1 check passed
@smaboshe smaboshe deleted the smaboshe-use-ruby-file-syntax-in-gemfile branch April 26, 2024 09:54
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.

1 participant