我最初使用安装程序从这里安装了 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 的版本有问题,所以我从应用商店下载了新版本并从中安装了命令行实用程序,仍然是相同的消息。
我知道这不是一个真正有趣的问题,但我们将不胜感激。