Skip to content

Commit 34a6b0b

Browse files
committed
Restrict SQLite to 1.x
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. See https://github.com/rails/rails/blob/main/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L14 and https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md
1 parent 417285f commit 34a6b0b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ group :test do
2121
gem 'mysql2'
2222
gem 'pg'
2323
gem 'solidus_auth_devise'
24-
gem 'sqlite3'
24+
gem 'sqlite3', '~> 1.4'
2525
end
2626

2727
# Use a local Gemfile to include development dependencies that might not be

lib/solidus_dev_support/templates/extension/Gemfile.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ when 'mysql'
3030
when 'postgresql'
3131
gem 'pg'
3232
else
33-
gem 'sqlite3'
33+
gem 'sqlite3', '~> 1.4'
3434
end
3535

3636
# While we still support Ruby < 3 we need to workaround a limitation in

0 commit comments

Comments
 (0)