Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.