zhex
6/18/2012 - 8:14 AM

compile vim with ruby support

compile vim with ruby support

# get source
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2

tar -xjvf vim-7.3.tar.bz2

# make sure using the system ruby version
cd vim73

rvm use system

# compile
./configure --prefix=/usr/local \
                     --enable-gui=no \
                     --without-x \
                     --disable-nls \
                     --enable-multibyte \
                     --with-tlib=ncurses \
                     --enable-pythoninterp \
                     --enable-rubyinterp \
                     --with-ruby-command=/usr/bin/ruby \
                     --with-features=huge

make
sudo make install