Skip to content

Commit

Permalink
Add CI guard for sqlite3 on Ruby 2.3-2.4
Browse files Browse the repository at this point in the history
sqlite3 1.5.3-1.6.9 advertises Ruby 1.9.2+ support, but its extconf.rb
file uses Array#prepend, which wasn't supported until Ruby 2.5+.
  • Loading branch information
jeremyevans committed Dec 17, 2024
1 parent bb600f1 commit 7b80900
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ci.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ end
platforms :ruby do
if RUBY_VERSION < '2.2'
gem 'sqlite3', '< 1.4'
elsif RUBY_VERSION < '2.5'
gem 'sqlite3', '< 1.5.3'
else
gem 'sqlite3'
end
Expand Down

0 comments on commit 7b80900

Please sign in to comment.