Updated ruby (markdown)

junegunn 2014-09-18 06:14:48 -07:00
parent b2fd1834cf
commit 77e01cdd87

84
ruby.md

@ -1,38 +1,46 @@
## Installing Vim with Ruby support
### OSX (Mavericks)
Mavericks already ships with Ruby-enabled Vim. :smiley:
If you wish to install a newer version (recommended), check out [RVM](http://rvm.io/) and [Homebrew](http://brew.sh/).
```sh
# 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.
- [Installing Vim on CentOS 6.3](http://sudoers-d.com/blog/2013/01/18/installing-vim-on-centos-6-dot-3/)
### Windows
Parallel installer of vim-plug may not work smoothly on Windows, but you can still try it.
Check out the relevant section from of my article, [Installing Vim with Ruby support](http://junegunn.kr/2013/09/installing-vim-with-ruby-support/). It's a little outdated, but you'll get the idea.
## Installing Vim with Ruby support
### OSX (Mavericks)
Mavericks already ships with Ruby-enabled Vim. :smiley:
If you wish to install a newer version (recommended), check out [RVM](http://rvm.io/) and [Homebrew](http://brew.sh/).
```sh
# 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.
- [Installing Vim on CentOS 6.3](http://sudoers-d.com/blog/2013/01/18/installing-vim-on-centos-6-dot-3/)
### Windows
Check out the relevant section from of my article, [Installing Vim with Ruby support](http://junegunn.kr/2013/09/installing-vim-with-ruby-support/). It's a little outdated, but you'll get the idea.
However, parallel installer is not stable on Windows and I don't recommend using it.
You might want to add the following code snippet to your .vimrc:
```vim
if has('win32') || has('win64')
let g:plug_threads = 1
endif
```