From f50de5be41a65d44fc1f59c0cb1d4d33afb4da21 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 12 Feb 2017 12:51:54 +0100 Subject: [PATCH] health.vim: ruby provider advice --- runtime/autoload/health/provider.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim index 61ab957829..bc6b2c074c 100644 --- a/runtime/autoload/health/provider.vim +++ b/runtime/autoload/health/provider.vim @@ -420,7 +420,9 @@ function! s:check_ruby() abort let host = provider#ruby#Detect() if empty(host) call health#report_warn('Missing "neovim" gem.', - \ ['Run in shell: gem install neovim']) + \ ['Run in shell: gem install neovim', + \ 'Is the gem bin directory in $PATH? Check `gem environment`.', + \ 'If you are using rvm/rbenv/chruby, try "rehashing".']) return endif call health#report_info('Host: '. host)