Closed Howler4695 closed 4 months ago
I ran ruby-build 3.3.3 /opt/rubies/ruby-3.3.3
and got the following error:
*** Following extensions are not compiled:
openssl:
Could not be configured. It will not be installed.
/Users/bespin-starter/src/ruby-3.3.3/ext/openssl/extconf.rb:122: OpenSSL library could not be found. You might want to use --with-openssl-dir=<dir> option to specify the prefix where OpenSSL is installed.
Check ext/openssl/mkmf.log for more details.
psych:
Could not be configured. It will not be installed.
Check ext/psych/mkmf.log for more details.
*** Fix the problems, then remove these directories and try again if you want.
I already have openssl and libyaml installed so there's clearly another error happening here, but probably nothing wrong with ruby-build other than obfuscating the original error.
Steps to reproduce the behavior
First reinstall rust
Then, try to enable YJIT with the following command:
ruby-build 3.3.3 /opt/rubies/ruby-3.3.3 -- --enable-yjit
got from hereExpected vs. actual behavior
Expected it to enable YJIT
Currently crashes
Logs
Log Output: