Uh oh!
There was an error while loading. Please reload this page.
fix(examples/jekyll): declare csv/base64/logger gems for Ruby 3.4 - #2881
Merged
Conversation
Ruby 3.4 moved csv, base64, and logger from default gems to bundled gems, so they must be declared explicitly or jekyll fails on startup with a LoadError (e.g. jekyll 3.9 does `require "csv"`). Needed because `bundler@latest` runs jekyll under Ruby 3.4+. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Ensures the Jekyll example starts correctly under Ruby 3.4+ by explicitly declaring stdlib gems that are no longer default gems, preventing LoadError failures during Jekyll startup.
Changes:
- Add explicit
csv,base64, andloggergem declarations to the Jekyll example Gemfile. - Document the Ruby 3.4 bundled-gem rationale directly in the Gemfile for future maintainers.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+49
to
+51
| gem "csv" | ||
| gem "base64" | ||
| gem "logger" |
The lockfile wasn't updated after adding the csv/base64/logger direct dependencies, which would cause bundle install --frozen/deployment to fail on a Gemfile/lock mismatch. Regenerated with `bundle lock` (no unrelated version or platform churn). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Split out from
mikeland73/fix-flaky-cicd-tests(5/5).Ruby 3.4 moved
csv,base64, andloggerfrom default gems to bundled gems, so they must be declared explicitly or jekyll fails on startup with aLoadError(e.g. jekyll 3.9 doesrequire "csv"). Needed becausebundler@latestruns jekyll under Ruby 3.4+.🤖 Generated with Claude Code