rvm use system

Junegunn Choi 2015-11-13 02:43:30 +09:00
parent fe6a32c3df
commit 802c692d2e

7
faq.md

@ -131,7 +131,12 @@ broken, and you have to rebuild Vim with a working version of Ruby.
If you're on OS X, one possibility is that you had installed Vim with
[Homebrew](http://brew.sh/) while using a Ruby installed with
[RVM](http://rvm.io/) or [rbenv](https://github.com/sstephenson/rbenv) and later
removed that version of Ruby.
removed that version of Ruby. Thus, it is safer to build Vim with system ruby.
```sh
rvm use system
brew reinstall vim
```
If you're on Windows using cygwin and the above ruby command fails with:
`cannot load such file -- rubygems.rb (LoadError)`. It means cygwin is missing the `rubygems` package. Install it using the setup.exe that came with cygwin. After that, vim-plug should be able to use the ruby installer.