From ab3b0f3d09b7edd1ec9c4276954fe37d04ff262b Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 18 Feb 2015 11:47:08 +0900 Subject: [PATCH] Updated ruby (markdown) --- ruby.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ruby.md b/ruby.md index c0b282e..ae6f998 100644 --- a/ruby.md +++ b/ruby.md @@ -29,7 +29,19 @@ sudo pacman -S gvim You can build the recent version of Vim from source. -- [Installing Vim on CentOS 6.3](http://sudoers-d.com/blog/2013/01/18/installing-vim-on-centos-6-dot-3/) +```sh +# 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