From 93d2e13f8d1bf45e9a811cc1c05664edeb19e706 Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Wed, 17 Apr 2024 21:53:35 +0200 Subject: [PATCH] Restrict sqlite3 gem to '~> 1.3', like ActiveRecord They just released sqlite3 2.0.0, but ActiveRecord's sqlite3 adapter doesn't know about this yet, leading to conflicting sqlite3 gems in specs. This is probably a temporary fix until ActiveRecord learns the news. (cherry picked from commit 4319e17023da3adaf09a5a4d87ae154ae6e0dbb5) --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index 78a0b34c5ad..37d87a75943 100644 --- a/Gemfile +++ b/Gemfile @@ -21,6 +21,7 @@ dbs = ENV['DB_ALL'] ? 'all' : ENV.fetch('DB', 'sqlite') gem 'mysql2', '~> 0.5.0', require: false if dbs.match?(/all|mysql/) gem 'pg', '~> 1.0', require: false if dbs.match?(/all|postgres/) gem 'fast_sqlite', require: false if dbs.match?(/all|sqlite/) +gem 'sqlite3', '~> 1.4', require: false if dbs.match?(/all|sqlite/) gem 'database_cleaner', '~> 1.3', require: false gem 'rspec-activemodel-mocks', '~> 1.1', require: false