mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
rvm use system
parent
fe6a32c3df
commit
802c692d2e
7
faq.md
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.
|
||||
|
Loading…
Reference in New Issue
Block a user