From b26f58fc4d1145e07f3c3eb9177dede4181a5b23 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Tue, 12 Nov 2024 18:15:37 +0100 Subject: [PATCH] Fix CI failures related to sqlite3 sqlite3 does not install anymore on Ruby 2.3 and 2.4 on CI. This commit installs an older version of sqlite3 which still installs --- Gemfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index b3c4241c..014e10c6 100644 --- a/Gemfile +++ b/Gemfile @@ -15,10 +15,11 @@ group :test do gem 'builder' rails_version = RUBY_VERSION =~ /\A(1|2.[01])/ ? '~> 4.0' : '>= 4.0' + sqlite3_version = RUBY_VERSION >= '2.5' ? '>= 1.5' : '< 1.5' # FIXTURES gem 'rack-test', :require => 'rack/test' gem 'activerecord', rails_version, :require => 'active_record' - gem 'sqlite3' + gem 'sqlite3', sqlite3_version gem 'sinatra', '>= 1.2.0' gem 'hashie' gem 'riot'