Skip to content

VimR ignores local Ruby #1010

@polydevuk

Description

@polydevuk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy