【问题标题】:Installing Ruby 2.0.0 on Mac 10.7.5 "requirements_port_libs_install"在 Mac 10.7.5 “requirements_port_libs_install”上安装 Ruby 2.0.0
【发布时间】:2013-03-29 06:00:17
【问题描述】:

我最初使用安装程序从这里安装了 ruby​​ 1.9.3:http://railsinstaller.org/ 现在我想安装 Ruby 2.0 和 Rails 4

所以我使用安装程序已经安装的 rvm 女巫

rvm install 2.0.0

但失败了:

Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.7/x86_64/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for smf, might require sudo password.
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
-bash: requirements_port_lib_installed: command not found
Installing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl, sqlite..
Error running 'requirements_port_libs_install autoconf automake libtool pkg-config libyaml readline libxml2 libxslt libksba openssl sqlite',
please read /usr/local/rvm/log/ruby-2.0.0-p0/package_install_autoconf_automake_libtool_pkg config_libyaml_readline_libxml2_libxslt_libksba_openssl_sqlite.log
There were package installation errors, make sure to read the log.
You can get help using IRC: http://webchat.freenode.net/?channels=rvm

日志报告了这一点:

 [2013-03-29 01:34:58] requirements_port_libs_install

/usr/local/rvm/scripts/functions/logging:第 141 行:requirements_port_libs_install:找不到命令

我跑了之后:

rvm requirements

但失败并显示相同的消息和日志 我读到这可能是我的 xCode 编译器版本有问题,所以我从应用商店下载了新版本并从那里安装了命令行实用程序,仍然是相同的消息。

我知道这不是一个真正有趣的问题,但我们将不胜感激。

【问题讨论】:

    标签: gcc osx-lion rvm ruby-2.0


    【解决方案1】:

    这是一个错误,已针对rvm get head 修复,它将尽快发布为1.19.1 => https://github.com/wayneeseguin/rvm/issues/1736

    【讨论】:

    • 谢谢也解决了我的问题。