Skip to content

Activate the bundle before the attestation patch loads openssl - #52

Merged
hsbt merged 1 commit into
v1from
fix-openssl-conflict-28
Nov 24, 2026
Merged

hsbt merged 1 commit into
v1from
fix-openssl-conflict-28

Conversation

@hsbt

@hsbt hsbt commented Nov 23, 2026

Copy link
Copy Markdown
Member

With the default attestations: true, bundle exec rake release fails with "You have already activated openssl" when the Gemfile locks an openssl version other than the one bundled with Ruby. The attestation patch is loaded through RUBYOPT and requires RubyGems' push command, which loads the default openssl before Bundler activates the locked one.

This loads bundler/setup ahead of the patch, so the locked openssl is activated first. It is the same RUBYOPT change as #34, without the extra bundle install step.

Fixes #28

Generated with Claude Code

The attestation patch requires RubyGems' push command, which loads the default openssl, so `bundle exec rake release` failed with "You have already activated openssl" whenever the Gemfile locked another openssl version. Loading bundler/setup ahead of the patch activates the locked version first.

Fixes #28

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hsbt
hsbt merged commit 21c73ed into v1 Nov 24, 2026
@hsbt
hsbt deleted the fix-openssl-conflict-28 branch November 24, 2026 00:01
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