我是 mac OS X 的新手。我正在尝试安装 ruby,但出现如下错误:
you requested building with '/usr/local/bin/gcc-4.2' but it is not in your path
我是 mac OS X 的新手。我正在尝试安装 ruby,但出现如下错误:
you requested building with '/usr/local/bin/gcc-4.2' but it is not in your path
在 Mac 上安装第三方软件的最简单方法是使用Macports。
更新macports:
$ sudo port selfupdate
安装红宝石:
$ sudo port install ruby
它会自行安装到/opt/local/...
.
端口本身看起来可以与更高版本的clang
.