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: use override Ruby toolchain consistently #143

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

sushain97
Copy link
Collaborator

@sushain97 sushain97 commented Jul 23, 2024

I missed a couple spots where we should be using the override toolchain in #140.

This time, I audited all the places we have a ctx.toolchains["@rules_ruby//ruby:toolchain_type"] and made sure that we use the override toolchain in them.

Without this change, binary targets like @bundle//:rubocop can end up pointing to a Ruby version that isn't actually in the runfiles for the target.

@sushain97 sushain97 marked this pull request as ready for review July 23, 2024 23:31
@sushain97 sushain97 requested a review from p0deje July 23, 2024 23:31
@p0deje p0deje merged commit fd3229b into main Jul 24, 2024
41 checks passed
@p0deje p0deje deleted the use-correct-ruby-in-ruby-binary branch July 24, 2024 03:05
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