Ruby macOS 安装 Ruby 报错

aini · October 27, 2018 · Last by Xenofex replied at November 07, 2018 · 2278 hits

Mac 运行 rvm install 2.5.1 报错如下

Error running './configure --prefix=/Users/shan/.rvm/rubies/ruby-2.5.1 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/[email protected] --disable-install-doc --enable-shared',
please read /Users/shan/.rvm/log/1540623603_ruby-2.5.1/configure.log
There has been an error while running configure. Halting the installation.

还有一条黄色的警告

No binary rubies available for: osx/10.13/x86_64/ruby-2.5.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

please read /Users/shan/.rvm/log/1540623603_ruby-2.5.1/configure.log

这个日志你可以分析下

You need to Sign in before reply, if you don't have an account, please Sign up first.