尝试使用MacVim时,我收到以下错误:
~$mvim index.php
dyld: Library not loaded: /usr/lib/libruby.1.dylib
Referenced from: /Applications/MacVim.app/Contents/MacOS/Vim
Reason: no suitable image found. Did find:
/usr/lib/libruby.1.dylib: mach-o, but wrong architecture
/usr/lib/libruby.1.dylib: mach-o, but wrong architecture
Trace/BPT trap
也感兴趣:
~$/usr/lib/libruby.(tab)
libruby.1.dylib libruby.dylib
我按照此处所述重新编译了ruby:hivelogic ruby setup。我大量使用macvim,并使用基于gem的插件,例如fuzzyfinder_textmate。