Skip to content

Fix OpenSSL mismatch vs Ruby 3.4 default causing build failure#181

Merged
David Elner (delner) merged 2 commits into
mainfrom
ci/fix_openssl_lock_mismatch
Jun 9, 2026
Merged

Fix OpenSSL mismatch vs Ruby 3.4 default causing build failure#181
David Elner (delner) merged 2 commits into
mainfrom
ci/fix_openssl_lock_mismatch

Conversation

@delner

Copy link
Copy Markdown
Collaborator

Problem

We specified openssl in the gemspec, which happens to be a default gem packaged with Ruby.

During our build/release process, if Ruby uses/loads openssl with RUBYOPT before Bundler, its possible to have an "already loaded" version mismatch where the default gem version doesn't match the one installed by Bundler. This leads to build failures.

Solution

Bump our CI Ruby version to 4.0 and pin our Gemfile to a version of openssl that specifically matches a known version of the Ruby runner in CI. This only affects our local build tooling (doesn't prevent users from using newer openssl versions), but does require us to keep this in sync with our Ruby version used in CI.

@delner David Elner (delner) self-assigned this Jun 9, 2026
@delner David Elner (delner) requested a review from a team as a code owner June 9, 2026 16:27
@delner David Elner (delner) added the bug Something isn't working label Jun 9, 2026
@delner David Elner (delner) merged commit a13fb35 into main Jun 9, 2026
10 checks passed
@delner David Elner (delner) deleted the ci/fix_openssl_lock_mismatch branch June 9, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants