diff --git a/Gemfile b/Gemfile index 2959f4f823..b4f916681f 100644 --- a/Gemfile +++ b/Gemfile @@ -14,7 +14,7 @@ group :active_record do platforms :ruby, :mswin, :mingw, :x64_mingw do gem 'mysql2', '>= 0.3.14' - gem 'sqlite3', '>= 1.3' + gem 'sqlite3', '~> 1.3' end end diff --git a/gemfiles/composite_primary_keys.gemfile b/gemfiles/composite_primary_keys.gemfile index e1b1aae1d9..15fb854711 100644 --- a/gemfiles/composite_primary_keys.gemfile +++ b/gemfiles/composite_primary_keys.gemfile @@ -16,7 +16,7 @@ group :active_record do platforms :ruby, :mswin, :mingw, :x64_mingw do gem "mysql2", ">= 0.3.14" - gem "sqlite3", ">= 1.3" + gem "sqlite3", "~> 1.3" end end diff --git a/gemfiles/rails_6.0.gemfile b/gemfiles/rails_6.0.gemfile index 348a323df1..9d6c2b052b 100644 --- a/gemfiles/rails_6.0.gemfile +++ b/gemfiles/rails_6.0.gemfile @@ -16,7 +16,7 @@ group :active_record do platforms :ruby, :mswin, :mingw, :x64_mingw do gem "mysql2", ">= 0.3.14" - gem "sqlite3", ">= 1.3" + gem "sqlite3", "~> 1.3" end platforms :jruby do diff --git a/gemfiles/rails_6.1.gemfile b/gemfiles/rails_6.1.gemfile index 1ca2b06c86..858d7d2c2b 100644 --- a/gemfiles/rails_6.1.gemfile +++ b/gemfiles/rails_6.1.gemfile @@ -17,7 +17,7 @@ group :active_record do platforms :ruby, :mswin, :mingw, :x64_mingw do gem "mysql2", ">= 0.3.14" - gem "sqlite3", ">= 1.3" + gem "sqlite3", "~> 1.3" end platforms :jruby do diff --git a/gemfiles/rails_7.0.gemfile b/gemfiles/rails_7.0.gemfile index 114b3932d7..3c9d928abb 100644 --- a/gemfiles/rails_7.0.gemfile +++ b/gemfiles/rails_7.0.gemfile @@ -17,7 +17,7 @@ group :active_record do platforms :ruby, :mswin, :mingw, :x64_mingw do gem "mysql2", ">= 0.3.14" - gem "sqlite3", ">= 1.3" + gem "sqlite3", "~> 1.3" end end diff --git a/spec/dummy_app/Gemfile b/spec/dummy_app/Gemfile index 8080609f17..f3d1ff19c0 100644 --- a/spec/dummy_app/Gemfile +++ b/spec/dummy_app/Gemfile @@ -14,7 +14,7 @@ group :active_record do platforms :ruby, :mswin, :mingw do gem 'mysql2', '>= 0.3.14' gem 'pg', '>= 0.14' - gem 'sqlite3', '>= 1.3.0' + gem 'sqlite3', '~> 1.3' end gem 'composite_primary_keys'