Skip to content

Commit 2ad78a6

Browse files
committed
sorting sqlite3 versioning
1 parent b601318 commit 2ad78a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ if RUBY_PLATFORM == 'java'
124124
else
125125
gem 'activerecord-jdbcsqlite3-adapter', "~> #{rails.tr('.', '')}.0"
126126
end
127-
elsif frameworks_versions['rails'] =~ /^(4|5)/
127+
elsif frameworks_versions['rails'] =~ /^(4|5|6)/
128128
gem 'sqlite3', '~> 1.3.6'
129129
elsif RUBY_VERSION < '2.7'
130130
gem 'sqlite3', '~> 1.4.4'
131131
else
132-
gem 'sqlite3'
132+
gem 'sqlite3', '~> 2'
133133
end
134134

135135
# sneakers main only supports >=2.5.0

0 commit comments

Comments
 (0)