问题:
我是 Rails 的新手,并试图开始使用 Rails 教程。升级到不同版本的 ruby 时,尝试将 ruby 版本从 1.8.7 升级到 1.9.3-p374 时出现以下错误
错误
Error running 'make', please read /usr/local/rvm/log/ruby-1.9.3-p374/make.log
There has been an error while running make. Halting the installation.
酿造清单
apple-gcc42
cmake
libksba
libyaml
readline
autoconf
curl
libtool
make
sqlite
automake
git
libxml2
openssl
bash
libgpg-error
libxslt
pkg-config
海合会版本
i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cpp路径
/usr/bin/cpp
我遵循的步骤
- 安装了 XCode 命令行工具
- 重新安装稳定版的 RVM
- 酿造更新
- brew tap homebrew/dupes
- brew install autoconf automake apple-gcc42
- rvm pkg 安装 openssl
- 冲泡安装 libksba
- 遵循moncef文章的所有说明