Why does rbenv recommend using openssl@3 with ruby >= 3.1 #2067
Closed
joshcooper
started this conversation in
General
Replies: 2 comments 1 reply
-
Hi, when you pass Line 1135 in 55575fd Are you seeing that even though you pass that option, ruby-build downloads and compiles openssl 3.0.5 for you? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Not sure what the issue was, closing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've tried building ruby 3.1.2 on macOS Catalina using
[email protected]
from homebrew using:but it always installs openssl 3.0.5 as defined in:
ruby-build/share/ruby-build/3.1.2
Line 1 in 7399e92
It's been recommended to use
openssl@3
instead of[email protected]
, for example:#1969 (reply in thread)
#2053 (comment)
#2061 (reply in thread)
However, my understanding is ruby >= 3.1 requires the openssl 3.0 gem, but the native extension is compatible with both openssl 1.1.1 and 3.0 libraries. For example, ruby itself builds macOS against
[email protected]
:https://github.com/ruby/ruby/blob/994b505ffb0bf9eb795525199b47697412a98abb/.github/workflows/macos.yml#L56
So I'm wondering why rbenv doesn't support Ruby 3.1 and [email protected]?
Beta Was this translation helpful? Give feedback.
All reactions