Ubuntu 12.04 has vim 7.3.429, which has an issue with
match() function, because of it I need to upgrade vim and gvim.
I need for vim >= 7.3.829 && <= 7.3.1268, or >= 7.4.018 (because of another issue)
sudo apt-add-repository ppa:dgadomski/vim-daily sudo apt-get update sudo apt-get install vim
It returns that vim is already newest version. (my actual Vim version is 7.3.429). Why is that? I also tried to remove vim and install it again, but newly installed version is 7.3.429 again.
Then I tried to build it from source, so I've cloned mercurial repo, configured and installed it:
cd ~/projects hg clone https://vim.googlecode.com/hg/ vim cd vim/src ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --with-x --prefix=/opt/vim make sudo checkinstall --pkgname=vim-my-latest
So I have vim 7.4.227 in the
/opt/vim/bin now, but there's no
gvim, and when I start
vim and check
has('ruby'), both of them return
0. Why is that? I've given
--enable-gui=gtk2 --with-x. Have I missed something?