diff --git a/Gemfile b/Gemfile index c66ff6e7..ac9f5098 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,8 @@ platforms :ruby do # Rails 6 now requires sqlite 1.4 if ENV['RAILS_VERSION'] && ENV['RAILS_VERSION'] < '5.1' gem 'sqlite3', '< 1.4' + elsif ENV['RAILS_VERSION'] && ENV['RAILS_VERSION'] < '7.1' + gem 'sqlite3', '~> 1.4' else gem 'sqlite3' end