-
-
Notifications
You must be signed in to change notification settings - Fork 225
Description
I'm running NeoVim 0.9.1 via MacPorts on Mac OS Ventura 13.3.1 and Ruby 3.22 via $HOME/.rbenv . I have an alias to run VimR with my NeoVim config:
vimr --nvim -u ~/.config/nvim/init.lua
... which mostly works fine but :checkhealth is not regcognising my Ruby and insists on using the system Ruby instead:
mason.nvim [Languages]
- OK: Ruby:
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22]
- WARNING: RubyGem: not available
Ruby provider (optional)
-
INFO: Ruby: ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22]
-
INFO: Host: /Users/gmac/.rbenv/shims/neovim-ruby-host
-
ERROR: Command error (job=11, exit code 1):
gem list -ra '^neovim$'
(in '/Users/gmac') -
ERROR: Failed to run: gem list -ra ^neovim$
My NeoVim :checkhealth shows no errors and respects the Ruby I have configured:
mason.nvim [Languages]
- OK Ruby: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin21]
- OK RubyGem: 3.4.13
Ruby provider (optional)
- Ruby: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin21]
- Host: /Users/gmac/.rbenv/shims/neovim-ruby-host
- OK Latest "neovim" gem is installed: 0.9.0
I don't know if this is related but there is also an intit file issue listed by VimR :checkhealth:
Configuration
- WARNING: Missing user config file: /Users/gmac/.config/nvim/init.vim
My config is: /Users/gmac/.config/nvim/init.lua