Vim is a great text editor, and MacVim makes it play nicely on a Mac. RVM is a great utility for managing multiple versions of Ruby on a single machine. The Command-T plugin is a great fuzzy-finder for filematching in Vim. But put all of these together, and things can get hairy: if Command-T is not compiled with the correct version of Ruby, it’ll break. Here’s how to compile it correctly:
cd .vim/bundle/command-t/ruby/command-t/
rvm use system
make clean
ruby extconf.rb
make
About the Author