Skip to content

Add Ruby 3.1 to the CI matrix#89

Merged
kou merged 2 commits intorr:masterfrom
petergoldstein:feature/add_ruby_3_1_to_ci
Mar 9, 2022
Merged

Add Ruby 3.1 to the CI matrix#89
kou merged 2 commits intorr:masterfrom
petergoldstein:feature/add_ruby_3_1_to_ci

Conversation

@petergoldstein
Copy link
Contributor

In addition to adding 3.1 to the list of tested Rubies, this PR fixes a class loading issue in the integration tests. This class loading issue appeared because ActiveSupport 7.0 is now being pulled in for these specs.

require "minitest"
require "rr"
when "minitest-active-support"
require "active_support"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you show the error message without this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you go. I've run into this several times now when adding Rails 7 support to gems.

Rails repo discussion is here - rails/rails#43851
My fork error is here - https://github.com/petergoldstein/rr/runs/5472214118?check_suite_focus=true

Screenshot:
Screen Shot 2022-03-08 at 3 35 22 PM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.
Can we remove require "active_support/test_case"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kou Nope, it breaks specs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

@kou kou merged commit 98dedcc into rr:master Mar 9, 2022
@kou
Copy link
Member

kou commented Mar 9, 2022

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants