我尝试遵循其他答案,但遇到以下问题:
$ 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 月发布的命令行工具,如果有帮助的话……