我安装了 Snow Leopard,经过几次重新安装后,一切都变得很好。但是现在当我去运行 cucumber 时,我得到了下面的错误,并且通过谷歌搜索我找不到任何结论性的东西。有没有人遇到过这个问题,或者可能有一些故障排除步骤可以尝试?
$ cucumber features
dyld: NSLinkModule() error
dyld: Library not loaded: /opt/local/lib/libfreetype.6.dylib
Referenced from: /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.10.0/lib/RMagick2.bundle
Reason: no suitable image found. Did find:
/opt/local/lib/libfreetype.6.dylib: can't map
/usr/local/lib/libfreetype.6.dylib: mach-o, but wrong architecture
Trace/BPT trap