From 885063f340251adaa2c50b609dec5983c8dacc79 Mon Sep 17 00:00:00 2001 From: Emily Stolfo Date: Fri, 26 Apr 2024 17:40:11 +0200 Subject: [PATCH] sorting sqlite3 versioning --- Gemfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 609e36ae0..460a808b2 100644 --- a/Gemfile +++ b/Gemfile @@ -126,10 +126,10 @@ if RUBY_PLATFORM == 'java' end elsif frameworks_versions['rails'] =~ /^(4|5)/ gem 'sqlite3', '~> 1.3.6' -elsif RUBY_VERSION < '2.7' +elsif RUBY_VERSION <= '2.7' gem 'sqlite3', '~> 1.4.4' else - gem 'sqlite3' + gem 'sqlite3', '~> 2' end # sneakers main only supports >=2.5.0