Skip to content
Junegunn Choi edited this page Dec 9, 2015 · 8 revisions

Installing Vim with Ruby support

OSX (Mavericks)

Mavericks already ships with Ruby-enabled Vim. 😃

If you wish to install a newer version (recommended), check out RVM and Homebrew.

# Assuming that you already installed RVM and Homebrew
rvm install ruby
rvm use ruby
brew install vim

Ubuntu

sudo apt-get install vim-nox

Arch Linux

sudo pacman -S gvim

Centos

You can build the recent version of Vim from source.

# Install prerequisites
sudo yum install -y ruby ruby-devel ncurses-devel

# Clone Vim repository
hg clone https://code.google.com/p/vim/

# Compile with Ruby interpreter and install
cd vim
./configure --with-features=huge --enable-rubyinterp
make -j $(nprocs)
sudo make install

Windows

pacman -S ruby vim

GVim

Parallel installer on Windows GVim requires Python support.

Clone this wiki locally