Skip to content

Instantly share code, notes, and snippets.

@mufid
Created May 21, 2025 06:02
Show Gist options
  • Save mufid/bc3695bb8adedd52cf48b3ccb64363bd to your computer and use it in GitHub Desktop.
Save mufid/bc3695bb8adedd52cf48b3ccb64363bd to your computer and use it in GitHub Desktop.
RVM, Ruby 3.4.4, and OSX 15.5

Error

$ rvm install 3.4.4
ruby-3.4.4 - #removing src/ruby-3.4.4 - please wait
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/15.5/arm64/ruby-3.4.4.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system - please wait
Installing required packages: pkg-config - please wait
Updating certificates bundle '/opt/homebrew/etc/[email protected]/cert.pem'
Requirements installation successful.
Installing Ruby from source to: /Users/mufid/.rvm/rubies/ruby-3.4.4, this may take a while depending on your cpu(s)...
ruby-3.4.4 - #downloading ruby-3.4.4, this may take a while depending on your connection...
ruby-3.4.4 - #extracting ruby-3.4.4 to /Users/mufid/.rvm/src/ruby-3.4.4 - please wait
ruby-3.4.4 - #configuring - please wait
ruby-3.4.4 - #post-configuration - please wait
ruby-3.4.4 - #compiling - please wait
Error running '__rvm_make -j16',
please read /Users/mufid/.rvm/log/1747807029_ruby-3.4.4/make.log

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

The Fix

$ rvm install 3.4.4  --with-openssl-dir="$(brew --prefix openssl)"
ruby-3.4.4 - #removing src/ruby-3.4.4 - please wait
Checking requirements for osx.
Installing requirements for osx.
Updating system - please wait
Installing required packages: pkg-config - please wait
Certificates bundle '/opt/homebrew/etc/[email protected]/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/mufid/.rvm/rubies/ruby-3.4.4, this may take a while depending on your cpu(s)...
ruby-3.4.4 - #downloading ruby-3.4.4, this may take a while depending on your connection...
ruby-3.4.4 - #extracting ruby-3.4.4 to /Users/mufid/.rvm/src/ruby-3.4.4 - please wait
ruby-3.4.4 - #configuring - please wait
ruby-3.4.4 - #post-configuration - please wait
ruby-3.4.4 - #compiling - please wait
ruby-3.4.4 - #installing - please wait
ruby-3.4.4 - #making binaries executable - please wait
Installed rubygems 3.6.7 is newer than 3.0.9 provided with installed ruby, skipping installation, use --force to force installation.
ruby-3.4.4 - #gemset created /Users/mufid/.rvm/gems/ruby-3.4.4@global
ruby-3.4.4 - #importing gemset /Users/mufid/.rvm/gemsets/global.gems - please wait
ruby-3.4.4 - #generating global wrappers - please wait
ruby-3.4.4 - #gemset created /Users/mufid/.rvm/gems/ruby-3.4.4
ruby-3.4.4 - #importing gemsetfile /Users/mufid/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-3.4.4 - #generating default wrappers - please wait
ruby-3.4.4 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-3.4.4 - #complete 
Ruby was built without documentation, to build it run: rvm docs generate-ri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment