Gcc 在Mac 10.7.5上安装Ruby 2.0.0“;要求“端口”libs“安装”;

Gcc 在Mac 10.7.5上安装Ruby 2.0.0“;要求“端口”libs“安装”;,gcc,osx-lion,rvm,ruby-2.0,Gcc,Osx Lion,Rvm,Ruby 2.0,我最初安装ruby 1.9.3时使用的安装程序如下: 现在我想安装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. Ple

我最初安装ruby 1.9.3时使用的安装程序如下: 现在我想安装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:line 141:requirements\u port\u libs\u install:找不到命令

我跑完之后:

rvm requirements
但是,由于相同的消息和日志,该操作失败 我读到我版本的编译器form xCode可能有问题,所以我从app store下载了新版本,并从中安装了命令行实用程序,仍然是同一条消息


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

这是一个错误,已针对
rvm get head
进行了修复。它将在
1.19.1
=>

谢谢您也修复了我的问题。