From a6f4acc1ec94baf973ed6a4eee5e1206ffa3dcc3 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Fri, 2 Aug 2024 15:44:03 +0100 Subject: [PATCH] Require Ruby 3.1 in Gemfile 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. --- Gemfile | 2 ++ Gemfile.lock | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 7f2eca03b..b5f950bd9 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,8 @@ source "https://rubygems.org" gemspec +ruby ">= 3.1" + gem "bundler", "~> 2.5" gem "minitest", "~> 5.23" diff --git a/Gemfile.lock b/Gemfile.lock index 5d88b8275..85d2ab6bc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -156,5 +156,8 @@ DEPENDENCIES syntax_tree (>= 6.1.1, < 7) tapioca (~> 0.13) +RUBY VERSION + ruby 3.3.4p94 + BUNDLED WITH 2.5.10