Compile command-t vim plugin with homebrew and macvim
As a non-ruby guy, I spent too much time figuring out... If you are getting this error while trying to launch Vim:
Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault: 11
Your Ruby system version does not match the one MacVim was used to compile. One of the options is use the same MacVim Ruby version to recompile command-t:
brew install ruby192
cd ~/.vim/bundle/command-t/ruby/command-t/
/usr/local/Cellar/ruby192/1.9.2-p320/bin/ruby extconf.rb
/usr/local/Cellar/ruby192/1.9.2-p320/bin/rake make
This works for me, it might not for you.
Written by Hector Garcia
Related protips
2 Responses
You could also use Ctrl-P instead of Command-T; It's the same functionality in pure vimscript.
https://github.com/kien/ctrlp.vim
over 1 year ago
·
Indeed, I am nowadays using ctrl-p along with syntastic:
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#