Repository navigation
Pin prism to 1.9.0 so the Pages build runs on Ruby 3.2 - #280
Merged
Merged
Conversation
The activesupport bump in #276 also moved prism to 2.1.0. Its precompiled Linux gem needs Ruby 3.3 or newer, so bundle install in the Pages deploy (Ruby 3.2.2 from .ruby-version) failed. minitest 6.1.0 accepts prism >= 1.5, < 3, so 1.9.0, the version the last successful deploy used, still satisfies it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Before: the Pages deploy for master fails at Setup Ruby. bundle install stops because prism-2.1.0-x86_64-linux-gnu requires Ruby 3.3 or newer, and the deploy runs Ruby 3.2.2 from .ruby-version. The site is still serving the last successful build, from #278.
After: bundle install resolves prism 1.9.0, the version the last successful deploy used, so the build and deploy can run again with the dependency updates from #276, #277 and #279.
The activesupport bump in #276 also moved prism from 1.9.0 to 2.1.0 through minitest. minitest 6.1.0 accepts prism >= 1.5, < 3, so 1.9.0 still satisfies it. PR Change Validation didn't catch this because it doesn't run bundle install.
How: one line in Gemfile.lock,
prism (2.1.0)toprism (1.9.0). Moving .ruby-version to 3.3 would be the longer-term fix, but it is a bigger change.Generated by Claude Code