mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ruby: old versions don't know gem list -e
This commit is contained in:
parent
d2f16d534f
commit
ca7a5c0ce7
@ -422,7 +422,7 @@ function! s:check_ruby() abort
|
||||
endif
|
||||
call health#report_info('Host: '. host)
|
||||
|
||||
let latest_gem_cmd = 'gem list -rae neovim'
|
||||
let latest_gem_cmd = 'gem list -ra ^neovim$'
|
||||
let latest_gem = s:system(split(latest_gem_cmd))
|
||||
if s:shell_error || empty(latest_gem)
|
||||
call health#report_error('Failed to run: '. latest_gem_cmd,
|
||||
|
Loading…
Reference in New Issue
Block a user