Skip to content

Commit

Permalink
[CI] Avoid NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Apr 20, 2024
1 parent 3d83651 commit bbb3f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit bbb3f30

Please sign in to comment.