Closed iliaskarim closed 2 years ago
This is likely related to homebrew providing OpenSSL 3.0. See https://github.com/postmodern/ruby-install/issues/409#issuecomment-926745133
ruby-install 0.8.3 has been released which pins the homebrew openssl dependency to openssl@1.1
, which should fix this. It will take a bit of time before homebrew updates their ruby-install
formula to 0.8.3.
Following https://github.com/postmodern/ruby-install 's install instructions worked! thanks @postmodern
solution:
rvm install ruby-2.6.6 --with-openssl-dir=$HOME/.openssl/openssl-1.1.1g
to build openssl:
wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz
tar zxvf openssl-1.1.1g.tar.gz
mv openssl-1.1.1g .openssl-1.1.1g
rm openssl-1.1.1g.tar.gz
cd .openssl-1.1.1g
./config --prefix=$HOME/.openssl/openssl-1.1.1g --openssldir=$HOME/.openssl/openssl-1.1.1g
make -j8
rm -rf ~/.openssl/openssl-1.1.1g/certs
ln -s /etc/ssl/certs ~/.openssl/openssl-1.1.1g/certs
make install -j8
rm -rf ~/.openssl/openssl-1.1.1g/certs
ln -s /etc/ssl/certs ~/.openssl/openssl-1.1.1g/certs
installs on .openssl of home
@sh4dowb do you mean ruby-install
and not rvm install
?
@sh4dowb do you mean
ruby-install
and notrvm install
?
sorry about confusion, that was the first issue that popped up on google when searched for same openssl error with rvm install. that's the way I solved it with rvm install, probably a similar fix for ruby-install
Description
I get the error
"ERR_get_line_data' is deprecated [-Werror, -Wdeprecated-declarations]
trying to install 2.6.3 usingruby-install ruby 2.6.3
. The tar.xz mentioned in the template is unavailable.Steps To Reproduce
Steps to reproduce the bug:
$ ruby-install 2.6.3
Expected Behavior
Ruby 2.6.3 should be installed.
Actual Behavior
Environment
ruby-install: 0.8.2
Darwin IK-MacBook-Pro.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
Apple clang version 12.0.5 (clang-1205.0.22.11) Target: x86_64-apple-darwin20.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
LibreSSL 2.8.3