Error using Vim Command-T in Ubuntu -
i trying learn vim job. new vim please go easy on me :). installed command-t
plugin using vundle
. when press leader + t
following errors:
command-t.vim not load c extension please see installation , trouble-shooting in vim ruby version: 1.9.3-p484 expected version: 2.2.2-p95
below details system:
- os: unbuntu 14 running on vagrant
- installed ruby 2.2.2 , ruby-1.9.3-p484 using rvm.
- gcc version 4.8.4 (ubuntu 4.8.4-2ubuntu1~14.04)
ruby 2.2.2 default version project. need upgrade vim ruby 2.2.2. if yes how can upgrade vim ruby in ubuntu.
i read couple of solution on stackoverflow , run rake make
plugin folder. still getting same error.
thanks
update
below result rake make
command
➜ command-t git:(master) rake make /home/vagrant/.rvm/rubies/ruby-2.2.2/bin/ruby extconf.rb checking float.h... yes checking ruby.h... yes checking stdlib.h... yes checking string.h... yes checking fcntl.h... yes checking stdint.h... yes checking sys/errno.h... yes checking sys/socket.h... yes checking ruby/st.h... yes checking st.h... yes checking pthread_create() in -lpthread... yes creating makefile compiling watchman.c compiling ext.c compiling match.c compiling matcher.c linking shared-object ext.so
as mentioned here, need must build against same version used vim.
i think easiest solution rebuilding plugin ruby-1.9.3-p484. prepend path installation $path, check version ruby -v
, reinstall plugin.
Comments
Post a Comment