Skip to content

ruby: add Linux OpenSSL/libyaml env for rv-ruby versions#5

Merged
worstell merged 1 commit intomasterfrom
worstell/20260226-ruby-openssl
Feb 26, 2026
Merged

ruby: add Linux OpenSSL/libyaml env for rv-ruby versions#5
worstell merged 1 commit intomasterfrom
worstell/20260226-ruby-openssl

Conversation

@worstell
Copy link
Copy Markdown
Owner

rv-ruby statically links OpenSSL and libyaml into its built-in extensions, but gem native extensions recompile and dynamically link against the system libs. Ubuntu 24.04 ships OpenSSL 3.0.x which is too old. Set BUNDLE_BUILD__OPENSSL and LD_LIBRARY_PATH on Linux to use linuxbrew's OpenSSL and libyaml. macOS is unaffected.

Amp-Thread-ID: https://ampcode.com/threads/T-019c9632-b6b8-724a-af79-d30573ba186a

rv-ruby statically links OpenSSL and libyaml into its built-in extensions,
but gem native extensions recompile and dynamically link against the system
libs. Ubuntu 24.04 ships OpenSSL 3.0.x which is too old. Set
BUNDLE_BUILD__OPENSSL and LD_LIBRARY_PATH on Linux to use linuxbrew's
OpenSSL and libyaml. macOS is unaffected.

Amp-Thread-ID: https://ampcode.com/threads/T-019c9632-b6b8-724a-af79-d30573ba186a
Co-authored-by: Amp <amp@ampcode.com>
@worstell worstell force-pushed the worstell/20260226-ruby-openssl branch from 70d9f8e to 6dba22e Compare February 26, 2026 21:17
@worstell worstell merged commit 488bd18 into master Feb 26, 2026
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