mirror of https://github.com/rails/rails
Lock sqlite3 gem to 1.4 to run Rails CI using rubylang/ruby:master-nightly-focal
Managed to reproduce https://buildkite.com/rails/rails/builds/90045#01839e89-85d4-4ef5-a443-6b2993f08f36 - Steps to reproduce Install Docker ``` git clone https://github.com/rails/rails cd rails git clone https://github.com/rails/buildkite-config .buildkite/ RUBY_IMAGE=rubylang/ruby:master-nightly-focal docker-compose -f .buildkite/docker-compose.yml build base ``` - Actual behavior without this change It gets `Gem::Ext::BuildError: ERROR: Failed to build gem native extension.` The entire error message can be seen via https://buildkite.com/rails/rails/builds/90045#01839e89-85d4-4ef5-a443-6b2993f08f36 - Why sqlite gem version is locked to 1.4? The last successful build installed `sqlite3 1.5.1`. however now it cannot install 1.5.1, 1.5.0 anymore. https://buildkite.com/rails/rails/builds/90006#01839032-3ccd-4aca-ad58-2c08beb4351f/142-862 I still have not found the actual reason why. I've just found a related issue https://bugs.ruby-lang.org/issues/19189
This commit is contained in:
parent
caaac482d5
commit
727d2b438b
2
Gemfile
2
Gemfile
|
@ -140,7 +140,7 @@ platforms :ruby, :windows do
|
|||
gem "racc", ">=1.4.6", require: false
|
||||
|
||||
# Active Record.
|
||||
gem "sqlite3", "~> 1.4"
|
||||
gem "sqlite3", "~> 1.4", "< 1.5"
|
||||
|
||||
group :db do
|
||||
gem "pg", "~> 1.3"
|
||||
|
|
|
@ -628,7 +628,7 @@ DEPENDENCIES
|
|||
sneakers
|
||||
sprockets-export
|
||||
sprockets-rails (>= 2.0.0)
|
||||
sqlite3 (~> 1.4)
|
||||
sqlite3 (~> 1.4, < 1.5)
|
||||
stackprof
|
||||
stimulus-rails
|
||||
sucker_punch
|
||||
|
|
Loading…
Reference in New Issue