0

我第一次在 Mac OSX 10.8 机器上安装 Ruby on Rails,它产生以下错误:-

运行错误 './configure --prefix=/Users/tcs/.rvm/rubies/ruby-1.9.3-p392 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt /readline:/usr/local/opt/libxml2:/usr/local/opt/libxslt:/usr/local/opt/libksba:/usr/local/opt/openssl:/usr/local/opt/sqlite --disable -install-doc --without-tcl --without-tk --enable-shared',请阅读/Users/tcs/.rvm/log/ruby-1.9.3-p392/1366722478_configure.log 出现错误运行配置。停止安装。

我已经阅读了很多博客和文章,但是每次我尝试安装 RoR 时都会出现这个错误。

我在 Mac 上安装了 Xcode 4.6。

4

1 回答 1

0

如果 c 编译器无法创建可执行文件,您可能只需要安装 Xcode 命令行工具。

于 2013-04-24T11:08:15.913 回答