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 our gem constraint maintenance tooling. #237

Merged
merged 1 commit into from
Feb 25, 2025
Merged

Conversation

myronmarston
Copy link
Collaborator

It hasn't been working because the bundle install run by update_gem_constraints fails due to the bundle being in frozen deployment mode. (That mode is something that setup_ruby enables when using the bundler cache).

I've fixed that issue by explicitly disabling the mode. In addition, I've fixed update_gem_constraints to fail if bundle install fails rather than silently ignoring the failure.

Finally, I've bumped the bundler cache version as the old logic would put it into a corrupted state.

It hasn't been working because the `bundle install` run by `update_gem_constraints`
fails due to the bundle being in frozen deployment mode. (That mode is something
that `setup_ruby` enables when using the bundler cache).

I've fixed that issue by explicitly disabling the mode. In addition, I've fixed
`update_gem_constraints` to fail if `bundle install` fails rather than silently
ignoring the failure.

Finally, I've bumped the bundler cache version as the old logic would put it into
a corrupted state.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@myronmarston myronmarston merged commit b47dc0a into main Feb 25, 2025
17 of 18 checks passed
@myronmarston myronmarston deleted the myron/fix-gem-script branch February 25, 2025 23:45
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.

3 participants