Use Ruby 3.3.0-rc1 to fix mysql_ar_rspec #32
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In Ruby < 3.3.0 the default
timeout
gem version is0.3.1
.ActiveRecord >= 7.1
requirestimeout >= 0.4.0
. This causes a problem with inline gemfiles becauserubygems
loadstimeout 0.3.1
thenActiveRecord
tries to requiretimeout 0.4.1,
but timeout is already loaded and we end up with this error:Ruby 3.3.0 bumps the default timeout version to 0.4.0 though, so we can use Ruby 3.3.0 to fix ci.
Locally, we need to wait for a new
rubygems
version that installstimeout
to>= 0.4.0
by default or rungem install --default timeout -v 0.4.1
.