我正在尝试更新我系统上的ruby和rails (osx 10.8.2)
当我跑的时候
rvm install 1.9.3 --with-gcc=gcc-4.2我得到以下错误:
You requested building with 'gcc-4.2' but it is not in your path.2个问题:如何使用gcc-4.2安装(我已经在xcode中安装了命令行工具)?另外,我如何让它到达正确的路径?
在这个问题上的任何帮助都将非常感谢。
发布于 2013-03-04 09:47:35
如果您还没有使用Homebrew,那么您可能想要安装它,以及apple-gcc42包。此脚本将为您完成此任务,但您可能只想手动运行所需的部分:https://github.com/thoughtbot/laptop/blob/master/mac
发布于 2013-03-04 09:23:25
尝试使用以下软件包进行安装:https://github.com/kennethreitz/osx-gcc-installer
https://stackoverflow.com/questions/15193038
复制相似问题