mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
fix(health): broken ruby detect #28804
(cherry picked from commit 10f9173519
)
This commit is contained in:
committed by
github-actions[bot]
parent
ea6b2b78bd
commit
5eaae797af
@ -19,8 +19,7 @@ function M.check()
|
||||
end
|
||||
health.info('Ruby: ' .. health.system({ 'ruby', '-v' }))
|
||||
|
||||
local ruby_detect_table = vim.provider.ruby.detect()
|
||||
local host = ruby_detect_table[1]
|
||||
local host, _ = vim.provider.ruby.detect()
|
||||
if (not host) or host:find('^%s*$') then
|
||||
health.warn('`neovim-ruby-host` not found.', {
|
||||
'Run `gem install neovim` to ensure the neovim RubyGem is installed.',
|
||||
|
Reference in New Issue
Block a user