Skip to content

Commit 7fd0425

Browse files
committed
Conditionally require sqlite3
1 parent c0cc20c commit 7fd0425

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Gemfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ when 'mysql'
1818
when 'postgresql'
1919
gem 'pg'
2020
else
21-
gem 'sqlite3'
21+
if rails_version <= "7.2"
22+
gem 'sqlite3', "~> 1.7"
23+
else
24+
gem 'sqlite3', "~> 2.0"
25+
end
2226
end
2327

2428
gemspec

0 commit comments

Comments
 (0)