From bbb3f30a417cf78e829d32a2f871738f2d282cfb Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sat, 20 Apr 2024 12:12:40 +0900 Subject: [PATCH] [CI] Avoid NPE --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 4492b35..b7d7c86 100644 --- a/Gemfile +++ b/Gemfile @@ -18,7 +18,7 @@ rails_version = ENV['RAILS_VERSION'] || '∞' platforms :ruby do if rails_version <= '5.0' gem 'sqlite3', '< 1.4' - elsif (ENV['RAILS_VERSION'] <= '8') || (RUBY_VERSION < '3') + elsif (rails_version <= '8') || (RUBY_VERSION < '3') gem 'sqlite3', '< 2' else gem 'sqlite3'