Mac 下安装 Ruby 报错的坑如何破?

2017-12-08 11:46:45 +08:00
 djgreat

liumatoMBP-5:~ djgreat$ rvm use ruby --install --default Required ruby-2.4.1 is not installed - installing. Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.12/x86_64/ruby-2.4.1. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for osx. Installing requirements for osx. Updating system......... Installing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libksba, openssl@1.1There were package installation errors, make sure to read the log.

Try brew tap --repair and make sure brew doctor looks reasonable.

Check Homebrew requirements https://github.com/Homebrew/homebrew/wiki/Installation .... Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config libyaml readline libksba openssl@1.1', please read /Volumes/DATA/Users/djgreat/.rvm/log/1512703777_ruby-2.4.1/package_install_autoconf_automake_libtool_pkg-config_libyaml_readline_libksba_openssl@1.1.log Requirements installation failed with status: 1. Gemset '' does not exist, 'rvm ruby-2.4.1 do rvm gemset create ' first, or append '--create'.

2239 次点击
所在节点    程序员
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/413057

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX