Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install Command-T on MacVim. I followed the installation instructions exactly but I get this error when trying to start MacVim (from a terminal via the mvim command line utility).

dyld: lazy symbol binding failed: Symbol not found: _rb_intern2
  Referenced from: /Users/mark/.vim/ruby/command-t/ext.bundle
  Expected in: flat namespace

dyld: Symbol not found: _rb_intern2
  Referenced from: /Users/mark/.vim/ruby/command-t/ext.bundle
  Expected in: flat namespace

Vim: Caught deadly signal TRAP
Vim: Finished.
share|improve this question
up vote 8 down vote accepted

You need to compile Command-T with Ruby v 1.8.7. Use RVM to switch between ruby versions. After you compiled the source you may switch back to your other ruby version.

share|improve this answer
Ok, I'll try this when I get the chance. Thanks! – Wuffers Feb 22 '11 at 13:23
Awesome! That worked! Thanks ^^ – Wuffers Feb 22 '11 at 22:27
Great answer! Helped me. – Dmitriy Ugnichenko Jan 10 '13 at 11:26
Yup, installed 1.8.7 with rbenv, deleted ~/.vim/ruby/command-t and re-sourced the vimball, use 1.8.7 to ruby extconf.rb and then things worked great. – meagar Dec 10 '13 at 16:43

For me the problem was that I compiled Command-T with a MacPorts ruby version (/opt/local/bin/ruby).

When I recompiled with /usr/bin/ruby, the version that is shipped with OS X, the issue was resolved and everything worked fine.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .