Skip to content

🐛 Use Bundler's built-in HTTPS github git source - #66

Merged
pboling merged 1 commit into
mainfrom
fix/https-github-git-source
Sep 14, 2026
Merged

pboling merged 1 commit into
mainfrom
fix/https-github-git-source

Conversation

@pboling

@pboling pboling commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Problem

A git_source(:github) override (injected by the kettle-jem Gemfile.example template, or older boilerplate) replaces Bundler's built-in HTTPS github: source. The SSH form is recorded in Gemfile.lock as git@github.com: remotes, which CI runners cannot clone — locked_deps.yml fails in rv clean-install with Permission denied (publickey) (as it did for kettle-rb, kettle-ndjson, kettle-gha-pins and kettle-wash). The template was fixed in #65, but already-templated projects keep the line.

Fix

  • gems/ast-crispr-markdown-markly/Gemfile: removed git_source(:github) override
  • gems/ast-crispr-ruby-prism/Gemfile: removed git_source(:github) override
  • gems/ast-crispr/Gemfile: removed git_source(:github) override
  • gems/ast-merge-git/Gemfile: removed git_source(:github) override
  • gems/ast-merge/Gemfile: removed git_source(:github) override
  • gems/ast-template/Gemfile: removed git_source(:github) override
  • gems/bash-merge/Gemfile: removed git_source(:github) override
  • gems/binary-merge/Gemfile: removed git_source(:github) override
  • gems/citrus-toml-merge/Gemfile: removed git_source(:github) override
  • gems/commonmarker-merge/Gemfile: removed git_source(:github) override
  • gems/dotenv-merge/Gemfile: removed git_source(:github) override
  • gems/go-merge/Gemfile: removed git_source(:github) override
  • gems/html-merge/Gemfile: removed git_source(:github) override
  • gems/json-merge/Gemfile: removed git_source(:github) override
  • gems/kettle-jem/Gemfile: removed git_source(:github) override
  • gems/kramdown-merge/Gemfile: removed git_source(:github) override
  • gems/markdown-merge/Gemfile: removed git_source(:github) override
  • gems/markly-merge/Gemfile: removed git_source(:github) override
  • gems/parslet-toml-merge/Gemfile: removed git_source(:github) override
  • gems/plain-merge/Gemfile: removed git_source(:github) override
  • gems/prism-merge/Gemfile: removed git_source(:github) override
  • gems/psych-merge/Gemfile: removed git_source(:github) override
  • gems/rbs-merge/Gemfile: removed git_source(:github) override
  • gems/ruby-merge/Gemfile: removed git_source(:github) override
  • gems/rust-merge/Gemfile: removed git_source(:github) override
  • gems/smorg-rb/Gemfile: removed git_source(:github) override
  • gems/toml-merge/Gemfile: removed git_source(:github) override
  • gems/tree_haver/Gemfile: removed git_source(:github) override
  • gems/typescript-merge/Gemfile: removed git_source(:github) override
  • gems/yaml-merge/Gemfile: removed git_source(:github) override
  • gems/zip-merge/Gemfile: removed git_source(:github) override
  • gems/ast-crispr-markdown-markly/Gemfile.lock: git@github.com:pboling/rubocop-packaging.git -> https://github.com/pboling/rubocop-packaging.git
  • gems/ast-crispr-ruby-prism/Gemfile.lock: git@github.com:pboling/rubocop-packaging.git -> https://github.com/pboling/rubocop-packaging.git
  • gems/ast-crispr/Gemfile.lock: git@github.com:pboling/rubocop-packaging.git -> https://github.com/pboling/rubocop-packaging.git
  • gems/ast-merge-git/Gemfile.lock: git@github.com:pboling/rubocop-packaging.git -> https://github.com/pboling/rubocop-packaging.git
  • gems/ast-merge/Gemfile.lock: git@github.com:pboling/rubocop-packaging.git -> https://github.com/pboling/rubocop-packaging.git
  • gems/ast-template/Gemfile.lock: git@github.com:pboling/rubocop-packaging.git -> https://github.com/pboling/rubocop-packaging.git
  • gems/bash-merge/Gemfile.lock: git@github.com:pboling/rubocop-packaging.git -> https://github.com/pboling/rubocop-packaging.git
  • gems/binary-merge/Gemfile.lock: git@github.com:pboling/rubocop-packaging.git -> https://github.com/pboling/rubocop-packaging.git
  • gems/citrus-toml-merge/Gemfile.lock: git@github.com:pboling/rubocop-packaging.git -> https://github.com/pboling/rubocop-packaging.git
  • ... 22 more

Lockfile remotes are rewritten to exactly what Bundler records for the github: shorthand (verified by relocking kettle-rb and friends); revisions and checksums are unchanged. CI validates the frozen lockfile.

🤖 Generated with Claude Code

https://claude.ai/code/session_01P8aveNcdgPobyMrq8DkD9r

Remove git_source(:github) overrides (Bundler's built-in github: source is
already HTTPS) and SSH GitHub git URLs. An SSH override is recorded in
Gemfile.lock as a git@github.com remote, which CI runners cannot clone
(rv clean-install: "Permission denied (publickey)"). Lockfile remotes are
updated to the URLs Bundler records for the github: shorthand; revisions
are unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P8aveNcdgPobyMrq8DkD9r
@pboling
pboling merged commit 46d9dd8 into main Sep 14, 2026
33 of 37 checks passed
@pboling
pboling deleted the fix/https-github-git-source branch September 14, 2026 03:40
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.

1 participant