Skip to content

fix(examples/jekyll): declare csv/base64/logger gems for Ruby 3.4 - #2881

Merged
mikeland73 merged 5 commits into
mainfrom
mikeland73/jekyll-ruby34-gems
Jun 21, 2026
Merged

mikeland73 merged 5 commits into
mainfrom
mikeland73/jekyll-ruby34-gems

Conversation

@mikeland73

Copy link
Copy Markdown
Collaborator

Split out from mikeland73/fix-flaky-cicd-tests (5/5).

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+.

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings June 21, 2026 18:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, and logger gem 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"
mikeland73 and others added 4 commits June 21, 2026 11:21
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>
@mikeland73
mikeland73 merged commit 85611ee into main Jun 21, 2026
20 checks passed
@mikeland73
mikeland73 deleted the mikeland73/jekyll-ruby34-gems branch June 21, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants