Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken CI due to rake-compiler error on Ruby < 2.6 #1007

Merged
merged 1 commit into from Aug 2, 2023

Conversation

mattbrictson
Copy link
Contributor

The recently released rake-compiler 1.2.4 breaks compatibility with Ruby 2.5 and below. It is causing concurrent-ruby CI jobs to fail with errors like this:

NoMethodError: undefined method `cleanpath' for "tmp/x86_64-linux/concurrent_ruby_ext/2.3.8":String

The rake-compiler regression has been reported here:

rake-compiler/rake-compiler#224

As a workaround, this PR updates the ruby-concurrent Gemfile to avoid rake-compiler 1.2.4. This should fix the broken CI jobs.

The recently released rake-compiler 1.2.4 breaks compatibility with Ruby
2.5 and below. It is causing concurrent-ruby CI jobs to fail with errors
like this:

```
NoMethodError: undefined method `cleanpath' for "tmp/x86_64-linux/concurrent_ruby_ext/2.3.8":String
```

The rake-compiler regression has been reported here:

rake-compiler/rake-compiler#224

As a workaround, this PR updates the ruby-concurrent Gemfile to avoid
rake-compiler 1.2.4. This should fix the broken CI jobs.
@eregon
Copy link
Collaborator

eregon commented Aug 2, 2023

Thanks! I wondered what caused it.

@eregon eregon merged commit bf966c0 into ruby-concurrency:master Aug 2, 2023
12 checks passed
@mattbrictson mattbrictson deleted the fix-broken-ci branch August 2, 2023 17:58
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.

None yet

2 participants