我在Mac OsX Sierra 10.12.2上安装Ruby时遇到了困难
根据www.installrails.com
按照说明进行操作1)正确安装XCode,2)确保命令行工作,3)安装,配置和验证Homebrew(1.1.7),4)安装并验证Git,5)已安装并验证RVM,然后尝试和安装Ruby 2.3.3(使用命令rvm使用ruby --install --default)。
但是,安装不断失败并出现以下错误/日志:
Error running 'requirements_osx_brew_libs_install automake openssl',
showing last 15 lines of /Users/JRD/.rvm/log/1484256081_ruby-2.3.3/package_install_automake_openssl.log
++ case "$1" in
++ [[ -t 1 ]]
++ return 1
++ printf %b 'There 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\n'
There 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
++ case "$_system_version" in
++ return 1
Requirements installation failed with status: 1.
Gemset '' does not exist, 'rvm ruby-2.3.3 do rvm gemset create ' first, or append '--create'.
非常令人沮丧。在线寻找多种解决方案,无法找到适用的解决方案。还尝试了其他StackOverflow答案,似乎没有一个能够解决我正在使用的最新版本/ Sierra OSX的问题。此外,建议的“brew修复”和“brew doctor”命令无法解决此问题。
有人可以解释错误并建议解决方案吗?
非常感谢。感谢。