From ca7a5c0ce7d499e9e792f9e2f5b16e821d07adb1 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 8 Jan 2017 00:44:48 +0100 Subject: ruby: old versions don't know `gem list -e` --- runtime/autoload/health/provider.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim index 2f98dd076e..632659a229 100644 --- a/runtime/autoload/health/provider.vim +++ b/runtime/autoload/health/provider.vim @@ -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, -- cgit