-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ruby
Junegunn Choi edited this page Apr 5, 2016
·
8 revisions
The current version of OS X already ships with Ruby-enabled Vim. 😃
If you wish to install a newer version (recommended), you can use Homebrew.
# If you use RVM, it's safer to build Vim with the system default Ruby
rvm use system
brew install vim
sudo apt-get install vim-nox
sudo pacman -S gvim
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
pacman -S ruby vim
Parallel installer on Windows GVim requires Python support.