Skip to content

Commit 499db8d

Browse files
committed
Revert "[CI] Ruby 2.7.8 fails to compile sqlite3 1.7.0 (?)"
This reverts commit 8ba015e. This turned out to be rubygems' bug
1 parent 81272a2 commit 499db8d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Gemfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ end
1616
rails_version = ENV['RAILS_VERSION'] || '∞'
1717

1818
platforms :ruby do
19-
if rails_version <'5.1'
20-
gem 'sqlite3', '< 1.4'
21-
elsif RUBY_VERSION < '3'
22-
gem 'sqlite3', '< 1.7'
23-
else
24-
gem 'sqlite3'
25-
end
19+
gem 'sqlite3', rails_version >= '5.1' ? '>= 1.4' : '< 1.4'
2620
end
2721
platforms :jruby do
2822
gem 'activerecord-jdbcsqlite3-adapter'

0 commit comments

Comments
 (0)