aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-12 12:51:54 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-02-12 12:51:54 +0100
commitf50de5be41a65d44fc1f59c0cb1d4d33afb4da21 (patch)
tree1f33f353db133bbda9e693e956f12e346e3cc7e9
parentc43ba671c3c8752cfabc7124f39303775acf04e5 (diff)
downloadrneovim-f50de5be41a65d44fc1f59c0cb1d4d33afb4da21.tar.gz
rneovim-f50de5be41a65d44fc1f59c0cb1d4d33afb4da21.tar.bz2
rneovim-f50de5be41a65d44fc1f59c0cb1d4d33afb4da21.zip
health.vim: ruby provider advice
-rw-r--r--runtime/autoload/health/provider.vim4
1 files changed, 3 insertions, 1 deletions
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)