-
Notifications
You must be signed in to change notification settings - Fork 172
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
Require Ruby 3.1 in Gemfile #2405
Conversation
The `ruby-lsp` gem supports 3.0 or above, but its `rbi` development dependency requires Ruby 3.1. And because dependabot always uses the lowest required Ruby to run the job, it's always failing to find the right `rbi` version. Hopefully this change will make dependabot use Ruby 3.1 and above instead.
@@ -156,5 +156,8 @@ DEPENDENCIES | |||
syntax_tree (>= 6.1.1, < 7) | |||
tapioca (~> 0.13) | |||
|
|||
RUBY VERSION | |||
ruby 3.3.4p94 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 will this be noisy if people have different patch levels of Ruby on their machines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the Ruby version bundler will prefer using. The ruby
declaration in Gemfile
though is a requirement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try it
Dependabot still decided to use Ruby 3.0.6 😅
|
* Revert #2405 as it doesn't work * Update rexml
The
ruby-lsp
gem supports 3.0 or above, but itsrbi
development dependency requires Ruby 3.1. And because dependabot always uses the lowest required Ruby to run the job, it's always failing to find the rightrbi
version.Hopefully this change will make dependabot use Ruby 3.1 and above instead.