From 3572a186b615ba2dc91352107d5ddc8892192fef 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 61ba1d2d3e3..ec58920d341 100644 --- a/Gemfile +++ b/Gemfile @@ -24,6 +24,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', '~> 2.0', require: false gem 'rspec-activemodel-mocks', '~> 1.1', require: false