Skip to content

Commit

Permalink
Do not use sqlite3 v2.0.0 or later to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yoheimuta committed Aug 7, 2024
1 parent c3b432e commit 5fba042
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ sqlite = ENV['SQLITE_VERSION']
if sqlite
gem 'sqlite3', sqlite, platforms: [:ruby]
else
gem 'sqlite3', platforms: [:ruby]
# Do not use sqlite3 v2.0.0 or later because it is not compatible with the current Rails version.
# We can remove this constraint when Rails 7.2 is released.
# See https://github.com/rails/rails/pull/51592 and https://github.com/rails/rails/blob/v7.2.0.rc1/activerecord/CHANGELOG.md#rails-720beta1-may-29-2024
gem 'sqlite3', "~> 1.4", platforms: [:ruby]
end

platforms :jruby do
Expand Down

0 comments on commit 5fba042

Please sign in to comment.