From ac73b991b68339620546b9467b244b32b40b66ea Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Thu, 15 Feb 2024 23:38:38 -0500 Subject: [PATCH 1/2] cirrus: Install older dotenv gem version 2.8.1 This indirect dependency has a newer version that requires Ruby 3.0 or newer. We're on Debian 10 "Buster" for now, which is still on Ruby 2.5. Pin to dotenv 2.8.1, the latest version compatible with our older Ruby, per the error message from CI: > The last version of dotenv (>= 0) to support your Ruby & RubyGems > was 2.8.1. Try installing it with `gem install dotenv -v 2.8.1` > and then running the current command again > > dotenv requires Ruby version >= 3.0. > The current ruby version is 2.5.0. --- .cirrus.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cirrus.yml b/.cirrus.yml index 0c29a9fe8..ee3cfbe97 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -85,6 +85,7 @@ arm_linux_task: libasound2-dev libnss3 xvfb + - gem install dotenv -v 2.8.1 - gem install fpm - git submodule init - git submodule update From cc4e19352932d50fcfb2652f3b48869c15150fb6 Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Fri, 1 Mar 2024 13:25:53 -0500 Subject: [PATCH 2/2] cirrus: Pin dotenv to semver ~> 2.8, not exact 2.8.1 Better to receive future minor/patch updates than pin exact, considering this dependency used to be totally unbounded ">= 0". We probably won't remember to update this in the future, so best to specify a range rather than an exact arbitrary version. --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index ee3cfbe97..0a6d099ef 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -85,7 +85,7 @@ arm_linux_task: libasound2-dev libnss3 xvfb - - gem install dotenv -v 2.8.1 + - gem install dotenv -v '~> 2.8' - gem install fpm - git submodule init - git submodule update