Rvm Install 3.2.0 Fails With Error running __rvm_make -j16 [SOLVED]

OS: MacOS Sonoma I’ve tried to install ruby 3.2.0:

rvm install 3.2.0

Issue

Got the error below:

ruby-3.2.0 - #removing src/ruby-3.2.0 - please wait
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/14.0/x86_64/ruby-3.2.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx_brew.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/dmitry/.rvm/rubies/ruby-3.2.0, this may take a while depending on your cpu(s)...
ruby-3.2.0 - #downloading ruby-3.2.0, this may take a while depending on your connection...
ruby-3.2.0 - #extracting ruby-3.2.0 to /Users/dmitry/.rvm/src/ruby-3.2.0 - please wait
ruby-3.2.0 - #autogen.sh - please wait
ruby-3.2.0 - #configuring - please wait
ruby-3.2.0 - #post-configuration - please wait
ruby-3.2.0 - #compiling - please wait
Error running '__rvm_make -j16',
please read /Users/dmitry/.rvm/log/1698046937_ruby-3.2.0/make.log

There has been an error while running make. Halting the installation.

Rvm can’t find OpenSSL v1.1 due to how requirements/autolibs provides OpenSSL v3, and Ruby does not work with OpenSSL 3.

Run rvm install command like that: This way we explicitly “tell” rvm where the OpenSSL v1.1 is located

PKG_CONFIG_PATH=/usr/local/opt/openssl@1.1/lib/pkgconfig rvm install 3.2.0 --with-openssl --with-openssl-lib=/usr/local/opt/openssl@1.1/lib --with-openssl-include=/usr/local/opt/openssl@1.1/include
ruby-3.2.0 - #removing src/ruby-3.2.0 - please wait
Checking requirements for osx_brew.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/dmitry/.rvm/rubies/ruby-3.2.0, this may take a while depending on your cpu(s)...
ruby-3.2.0 - #downloading ruby-3.2.0, this may take a while depending on your connection...
ruby-3.2.0 - #extracting ruby-3.2.0 to /Users/dmitry/.rvm/src/ruby-3.2.0 - please wait
ruby-3.2.0 - #autogen.sh - please wait
ruby-3.2.0 - #configuring - please wait
ruby-3.2.0 - #post-configuration - please wait
ruby-3.2.0 - #compiling - please wait
ruby-3.2.0 - #installing - please wait
ruby-3.2.0 - #making binaries executable - please wait
Installed rubygems 3.4.1 is newer than 3.0.9 provided with installed ruby, skipping installation, use --force to force installation.
ruby-3.2.0 - #gemset created /Users/dmitry/.rvm/gems/ruby-3.2.0@global
ruby-3.2.0 - #importing gemset /Users/dmitry/.rvm/gemsets/global.gems - please wait
ruby-3.2.0 - #generating global wrappers - please wait
ruby-3.2.0 - #gemset created /Users/dmitry/.rvm/gems/ruby-3.2.0
ruby-3.2.0 - #importing gemsetfile /Users/dmitry/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-3.2.0 - #generating default wrappers - please wait
ruby-3.2.0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-3.2.0 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri

This is the same issue as described here

Second Head Post
This is a post from Second Head. So please, don’t expect too much.

Related Content