【发布时间】:2011-07-27 09:55:02
【问题描述】:
我从雪豹升级(不是新安装)到狮子。现在 rmagick 不起作用。我更新了 Xcode,尝试重新安装 gem(这里提到:rmagick and OS X Lion),从 rvm 中删除了 1.9.2 ruby,更新了 rvm 并重新安装了 ruby 1.9.2 ans 仍然得到以下错误:
完整跟踪请参阅:http://pastie.org/2278596
mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.
$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
$ rvm --version
rvm 1.6.30 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]
$ la /Developer/SDKs/
total 0
drwxr-xr-x 4 root wheel 136 25 Jul 14:39 .
drwxrwxr-x 15 root admin 510 25 Jul 14:45 ..
drwxr-xr-x 7 root wheel 238 13 Jun 20:21 MacOSX10.6.sdk
drwxr-xr-x 7 root wheel 238 4 Jul 02:18 MacOSX10.7.sdk
mkmf.log:http://pastie.org/2278612
有人有解决办法吗?
谢谢!
【问题讨论】:
-
我遇到了同样的错误!
标签: ruby-on-rails xcode ruby-on-rails-3 bundle rmagick