Skip to content

Commit

Permalink
sorting sqlite3 versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
estolfo committed Apr 26, 2024
1 parent b601318 commit 2ad78a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ if RUBY_PLATFORM == 'java'
else
gem 'activerecord-jdbcsqlite3-adapter', "~> #{rails.tr('.', '')}.0"
end
elsif frameworks_versions['rails'] =~ /^(4|5)/
elsif frameworks_versions['rails'] =~ /^(4|5|6)/
gem 'sqlite3', '~> 1.3.6'
elsif RUBY_VERSION < '2.7'
gem 'sqlite3', '~> 1.4.4'
else
gem 'sqlite3'
gem 'sqlite3', '~> 2'
end

# sneakers main only supports >=2.5.0
Expand Down

0 comments on commit 2ad78a6

Please sign in to comment.