When I hit \t to use the Command-T extension in VIM, I get the error
command-t.vim could not load the C extension
I'm not sure how to go about fixing this... any suggestions?
Thanks
I am using the git-repository installation method. Here's what happens when I "rake make":
~/.vim/bundle/command-t$ rake make
(in /home/petef/.vim/bundle/command-t)
/usr/bin/ruby1.8 extconf.rb
extconf.rb:24:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:24
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.8 extconf.rb...]
/home/petef/.vim/bundle/command-t/Rakefile:136
(See full trace by running task with --trace)
Pete, you must install ruby-dev package before invoke "rake make" command.
Command-T requires a compiled C extension to work. Here's the relevant section from the Command-T homepage on how to compile the extension:
The thing that usually trips people up the most is that their Command-t has been compiled with a different version of Ruby than their Vim's version. In order do install Ruby and match the proper versions, you are going to want to install RVM and Ruby, install the correct version of Ruby, and do a
rake make
in the~/.vim/bundle/Command-T
plugin directory.Here is a step-by-step guide to install Command-t.