После обновления до Mojave 10.14.2 я попытался установить любые версии ruby, используя RVM.

Я получаю следующее сообщение об ошибке, связанное с OpenSSL.

У меня установлены последние инструменты командной строки (Command_Line_Tools_macOS_10.14_for_Xcode_10.1) и Xcode.

rvm install 2.5.1 Warning, new version of rvm available '1.29.7', you are using older version '1.29.6'. You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc ruby-2.5.1 - #removing src/ruby-2.5.1.. Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.14/x86_64/ruby-2.5.1. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for osx. Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date. Requirements installation successful. Installing Ruby from source to: /Users/macuser/.rvm/rubies/ruby-2.5.1, this may take a while depending on your cpu(s)... ruby-2.5.1 - #downloading ruby-2.5.1, this may take a while depending on your connection... ruby-2.5.1 - #extracting ruby-2.5.1 to /Users/macuser/.rvm/src/ruby-2.5.1..... ruby-2.5.1 - #applying patch /Users/macuser/.rvm/patches/ruby/2.5.1/libressl_2_7.patch. ruby-2.5.1 - #configuring......................... Error running './configure --prefix=/Users/macuser/.rvm/rubies/ruby-2.5.1 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl@1.1 --disable-install-doc --enable-shared', please read /Users/macuser/.rvm/log/1546514340_ruby-2.5.1/configure.log There has been an error while running configure. Halting the installation.

Получил следующее сообщение в файле configure.log:

checking size of long long... configure: error: in /Users/macuser/.rvm/src/ruby-2.5.1': configure: error: cannot compute sizeof (long long) See config.log' for more details

0