在Mac 10.7.5上安装Ruby 2.0.0“requirements_port_libs_install”

时间:2013-03-29 06:00:17

标签: gcc osx-lion rvm ruby-2.0

我最初使用安装程序从这里安装了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编译器版本的问题,所以我从应用程序商店下载了新版本,并从那里安装了命令行实用程序,仍然是相同的消息。

我知道这不是一个有趣的问题,但非常感谢帮助。

1 个答案:

答案 0 :(得分:1)

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