mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01: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
|
end
|
||||||
health.info('Ruby: ' .. health.system({ 'ruby', '-v' }))
|
health.info('Ruby: ' .. health.system({ 'ruby', '-v' }))
|
||||||
|
|
||||||
local ruby_detect_table = vim.provider.ruby.detect()
|
local host, _ = vim.provider.ruby.detect()
|
||||||
local host = ruby_detect_table[1]
|
|
||||||
if (not host) or host:find('^%s*$') then
|
if (not host) or host:find('^%s*$') then
|
||||||
health.warn('`neovim-ruby-host` not found.', {
|
health.warn('`neovim-ruby-host` not found.', {
|
||||||
'Run `gem install neovim` to ensure the neovim RubyGem is installed.',
|
'Run `gem install neovim` to ensure the neovim RubyGem is installed.',
|
||||||
|
Reference in New Issue
Block a user