Mountain Lion 安装 rvm ree-1.8.7 [英] Mountain Lion install rvm ree-1.8.7

查看:64
本文介绍了Mountain Lion 安装 rvm ree-1.8.7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试按照这个其他答案,但我遇到以下问题:

I tried following this other answer, but I get the following problems:

$ export CPPFLAGS=-I/opt/X11/include
$ CC=/usr/local/bin/gcc-4.2 rvm reinstall ree-1.8.7
/Users/username/.rvm/src/ree-1.8.7-2012.02 has already been removed.
/Users/username/.rvm/rubies/ree-1.8.7-2012.02 has already been removed.
No binary rubies available for: osx/10/x86_64/ree-1.8.7-2012.02.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
You requested building with '/usr/local/bin/gcc-4.2' but it is not in your path.

还有什么我做错了吗?我正在使用 Apple 的 10 月版命令行工具,如果有帮助的话...

Is there something else I am doing wrong? I am using the October release of Command Line Tools from Apple, if that helps...

推荐答案

好的,在对另一个答案进行了一些讨论后,我让它像这样工作......

Ok, after some discussion on the other answer I got it to work like this...

首先,安装 brew 然后执行以下操作:

First, install brew then do this:

brew tap homebrew/dupes
brew install apple-gcc42

然后解决方案的其余部分将起作用:

Then the rest of the solution will work:

export CPPFLAGS=-I/opt/X11/include
CC=/usr/local/bin/gcc-4.2 rvm reinstall ree-1.8.7

这篇关于Mountain Lion 安装 rvm ree-1.8.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆