【发布时间】:2013-04-04 02:55:30
【问题描述】:
伙计们,我正在尝试使用本网站 http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/ 的指南在 Mac 上安装 ruby
但是当我在 mac 终端上发出以下命令时:
\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enable
我收到以下错误:
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for osx, might require sudo password.
Already up-to-date.
Installing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl, sqlite................................
Error running 'requirements_brew_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.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation
我尝试了很多方法来摆脱这种情况,但我根本没有任何线索。有没有人可以帮助解决这个问题?谢谢
【问题讨论】:
-
安装 Homebrew。
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" -
/usr/local/rvm/log/ruby-2.0.0-p0/package_install_autoconf_automake_libtool_pkg-config_libyaml_readline_libxml2_libxslt_libksba_openssl_sqlite.log的日志是怎么说的? -
@HungryCoder homebrew 已经安装
-
@AlexMarchant ==> 浇注 pkg-config-0.28.mountain_lion.bottle.tar.gz ???? /usr/local/Cellar/pkg-config/0.28:10 个文件,636K ==> 正在下载 pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz 已经下载:/Library/Caches/Homebrew/libyaml-0.1.4.tar.gz ==> ./configure - -prefix=/usr/local/Cellar/libyaml/0.1.4 ==> make install 错误:readline 的操作已经在进行中 另一个活动的 Homebrew 进程已经在使用 readline。请等待它完成或终止它以继续。 ??? /usr/local/Cellar/libyaml/0.1.4:7个文件,336K,8秒内构建
-
@HungryCoder 我不确定问题出在哪里。我会再次尝试脚本。您也可以尝试在前面加上
sudo运行它。并仔细检查brew doctor是否注册正常。
标签: ruby-on-rails ruby macos rvm homebrew