Skip to content
junegunn edited this page Sep 18, 2014 · 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.

Windows

pacman -S ruby vim

GVim

Check out the relevant section from of my article, Installing Vim with Ruby support. It's a little outdated, but you'll get the idea.

However, parallel installer on Windows GVim is not stable and I don't recommend using it. You might want to add the following code snippet to your .vimrc:

if has('win32') || has('win64')
  let g:plug_threads = 1
endif
Clone this wiki locally