-
Notifications
You must be signed in to change notification settings - Fork 790
Closed
Labels
Description
Steps to reproduce the behavior
Run ruby-build
from current master branch (commit fd0460e).
❯ bin/ruby-build --version
ruby-build 20250811-3-gfd0460e8
❯ bin/ruby-build 3.4.5 ~/tmp
==> Downloading ruby-3.4.5.tar.gz...
-> curl -q -fL -o ruby-3.4.5.tar.gz https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.5.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22.1M 100 22.1M 0 0 15.9M 0 0:00:01 0:00:01 --:--:-- 15.9M
==> Installing ruby-3.4.5...
ruby-build: using libyaml from homebrew
ruby-build: using gmp from homebrew
-> ./configure "--prefix=$HOME/tmp" --enable-shared --with-libyaml-dir=/opt/homebrew/opt/libyaml --with-gmp-dir=/opt/homebrew/opt/gmp --with-ext=openssl,psych,+
Expected vs. actual behavior
Expect the ./configure
command to detect the openssl installation from homebrew like it did as of the v20250811
tag and include the --with-openssl-dir=/opt/homebrew/opt/openssl@3
option.
❯ git checkout v20250811
❯ bin/ruby-build --version
ruby-build 20250811
❯ bin/ruby-build 3.4.5 ~/tmp
ruby-build: using openssl@3 from homebrew
==> Downloading ruby-3.4.5.tar.gz...
-> curl -q -fL -o ruby-3.4.5.tar.gz https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.5.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22.1M 100 22.1M 0 0 18.5M 0 0:00:01 0:00:01 --:--:-- 18.5M
==> Installing ruby-3.4.5...
ruby-build: using libyaml from homebrew
ruby-build: using gmp from homebrew
-> ./configure "--prefix=$HOME/tmp" --with-openssl-dir=/opt/homebrew/opt/openssl@3 --enable-shared --with-libyaml-dir=/opt/homebrew/opt/libyaml --with-gmp-dir=/opt/homebrew/opt/gmp --with-ext=openssl,psych,+
I believe bug this was introduced in PR #2547.