【发布时间】:2014-06-18 00:50:46
【问题描述】:
我最近将 iMac OS 升级到最新的 OSX Mavericks (10.9.3),但无法安装 ruby 1.9.3。我在书中遇到了建议的解决方案。我已经安装了 xCode、命令行工具,使用 brew doctor 修复了每个警告和错误,直到我收到“您的系统已准备好酿造”消息,以及在线提出的其他几种方法。任何建议都会有很大帮助。以下是我在使用命令 ruby install 1.9.3 以及该命令的大多数其他变体时遇到的错误。 (每个版本的 ruby 都会发生这种情况,而不仅仅是 1.9.3)。无论我做什么,在“openssl............”之后都会出现完全相同的错误
Installing required packages: readline, openssl...........
Error running 'requirements_osx_brew_libs_install readline openssl',
showing last 15 lines of /Users/julian/.rvm/log/1403049978_ruby-2.1.2/package_install_readline_openssl.log
++ /scripts/functions/logging : rvm_pretty_print() 81 > case "$1" in
++ /scripts/functions/logging : rvm_pretty_print() 82 > [[ -t 1 ]]
++ /scripts/functions/logging : rvm_pretty_print() 82 > return 1
++ /scripts/functions/logging : rvm_warn() 139 > 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
++ /scripts/functions/requirements/osx_brew : requirements_osx_brew_libs_install() 63 > case "$_system_version" in
++ /scripts/functions/requirements/osx_brew : requirements_osx_brew_libs_install() 70 > return 1
Requirements installation failed with status: 1.
【问题讨论】:
-
使用 RVM。您将获得更好的体验。
标签: ruby installation rvm osx-mavericks homebrew