首页 > 解决方案 > 第一次尝试安装 ruby​​ 时出现错误。我在 macOS High Sierra

问题描述

Jeffreys-MacBook-Air:~ Jeffrey$ rvm install 2.3
ruby-2.3.4 - #removing src/ruby-2.3.4..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.13/x86_64/ruby-2.3.4.
Continuing with compilation. Please read 'rvm help mount' to get more 
information on binary rubies.
Checking requirements for osx_brew.
Certificates bundle '/usr/local/etc/openssl/cert.pem' is already up to 
date.
Requirements installation successful.
Installing Ruby from source to: /Users/Jeffrey/.rvm/rubies/ruby-2.3.4, 
this may take a while depending on your cpu(s)...
ruby-2.3.4 - #downloading ruby-2.3.4, this may take a while depending on 
your connection...
ruby-2.3.4 - #extracting ruby-2.3.4 to /Users/Jeffrey/.rvm/src/ruby- 
2.3.4....
ruby-2.3.4 - #applying patch 
/Users/Jeffrey/.rvm/patches/ruby/ruby_2_3_gcc7.patch.
ruby-2.3.4 - #applying patch 
/Users/Jeffrey/.rvm/patches/ruby/2.3.4/fix_rb_thread_fd_close.patch.
ruby-2.3.4 - #applying patch 
/Users/Jeffrey/.rvm/patches/ruby/2.3.4/random_c_using_NR_prefix.patch.
ruby-2.3.4 - 
#configuring......................................................|
ruby-2.3.4 - #post-configuration.
ruby-2.3.4 - 
#compiling........................................................|
ruby-2.3.4 - #installing........
Error running '__rvm_make install',
please read /Users/Jeffrey/.rvm/log/1528602254_ruby-2.3.4/install.log
There has been an error while running make install. Halting the 
installation.

在哪里可以找到安装日志?我尝试在取景器中查找,但没有成功。如果有帮助的话,我正在关注我在 Odin Project 上找到的安装活动。

标签: rubymacos-high-sierra

解决方案


推荐阅读