Solving the Vim and Comand-t segmentation fault problem
Does this apply to you? Follow ahead to resolve your issues
Problem: A seg fault occurs when using the command-t plugin for vim
Reason: Command-t and vim were compiled against a different versions of ruby
First, lets find out if you really do have vim and command-t installed.
Assuming you’ve passed those checks, lets find out whether vim and command-t use different ruby libraries
My Vim install uses this ruby library:
Get the Command-t ruby library:
At this point, we can see that vim was compiled with a different library than command-t. Moving forward, we have two options. First, you could compile command-t to match vim, or second, you could compile vim to match command-t. This question may depend on whether you want to use the system ruby, or in my case, the macports installation of ruby.
Below shows how to compile command-t to match the ruby lib vim was compiled with. If you want to compile vim from source, look elsewhere.
Now, compile command-t with the interpreter that matches vim’s ruby lib: