Skip to content

Commit 7b72684

Browse files
committed
Don't use sqlite gem 2.8.0 (sqlite 3.51.0), it has a bug we trigger in the tests
1 parent 578e6de commit 7b72684

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ gem 'rails_sql_prettifier'
99

1010
# Specify your gem's dependencies in active_record_where_assoc.gemspec
1111
gemspec
12+
13+
# Version 2.8.0 contains sqlite 3.51.0, which has a bug: https://sqlite.org/forum/forumpost/5465c0f684
14+
gem 'sqlite3', '!= 2.8.0'

gemfiles/rails_8_0.gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
source "https://rubygems.org"
44

55
gem "activerecord", github: "rails/rails", branch: "8-0-stable"
6-
gem "sqlite3"
76
gem "pg", "~> 1.1"
87
gem "mysql2", "~> 0.5" if ENV["CI"] || ENV["ALL_DB"] || ENV["DB"] == "mysql"
98
gem "prime"
109

10+
# Version 2.8.0 contains sqlite 3.51.0, which has a bug: https://sqlite.org/forum/forumpost/5465c0f684
11+
gem 'sqlite3', '!= 2.8.0'
12+
1113
gemspec path: "../"

0 commit comments

Comments
 (0)