asdf install ruby latest installing outdated openssl version, failing #2237
Replies: 4 comments 9 replies
-
additional info:
|
Beta Was this translation helpful? Give feedback.
-
I have no idea what is causing this failure, but you could avoid having to compile OpenSSL by linking to an existing one. You could install an OpenSSL version with Homebrew, which is generally faster due to Homebrew's precompiled bottles: Then you can instruct ruby-build to link to that: RUBY_CONFIGURE_OPTS="--disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1)" |
Beta Was this translation helpful? Give feedback.
-
@mgibson323 @mislav Please ignore my report above as I was able to resolve the issue with help from our mgr who knows Ruby well and here is what we did,
eval "$(/opt/homebrew/bin/brew shellenv)" export RUBY_CONFIGURE_OPTS="--with-libyaml-dir=$(brew --prefix libyaml) --with-openssl-dir=$(brew --prefix openssl@3) --disable-install-doc" export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH"
. /opt/homebrew/opt/asdf/libexec/asdf.sh
asdf install ruby 3.1.1
asdf install ruby 3.2.2 |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce the behavior
On MacOS 13.4.1 (ARM64) with
asdf
installed viabrew
, and openssl version3.1.2
, attempt to installruby latest
The installation fails with other ruby versions besides
latest
, as well.I suspect the openssl version is causing my installation to fail.
Note: I am not very familiar with Ruby or using these tools, but I want to install it to use it for some other tools I need for work. I was directed to this repo by this comment.
Expected vs. actual behavior
Expected: ISBAT install Ruby using
asdf
so I can use a different version aside from the MacOS default.Actual: Installation via
asdf
failsLogs
Beta Was this translation helpful? Give feedback.
All reactions