Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neens to be fixed with latest Homebrew Latest with Homebrew's 3.2.0 ruby #75

Open
JuPlutonic opened this issue Jan 18, 2023 · 1 comment

Comments

@JuPlutonic
Copy link

HOMEBREW_VERSION: 3.6.18-54-g3e25789
Homebrew Ruby: 2.6.8 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby

which -a ruby (when I removed rbenv from the env it also n/w)

/home/alessio/.rbenv/shims/ruby # 3.2.0
/home/linuxbrew/.linuxbrew/bin/ruby  # 3.2.0
/usr/bin/ruby

brew gem install neovim

==> Fetching gem-neovim
==> Fetching neovim from gem source
`RubyGems' were not loaded.
`error_highlight' was not loaded.
`did_you_mean' was not loaded.
`syntax_suggest' was not loaded.
/home/linuxbrew/.linuxbrew/opt/ruby/bin/gem:8:in `require': cannot load such file -- rubygems/gem_runner (LoadError)
	from /home/linuxbrew/.linuxbrew/opt/ruby/bin/gem:8:in `<main>'
==> Fetching neovim from gem source
`RubyGems' were not loaded.
`error_highlight' was not loaded.
`did_you_mean' was not loaded.
`syntax_suggest' was not loaded.
/home/linuxbrew/.linuxbrew/opt/ruby/bin/gem:8:in `require': cannot load such file -- rubygems/gem_runner (LoadError)
	from /home/linuxbrew/.linuxbrew/opt/ruby/bin/gem:8:in `<main>'
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory @ rb_sysopen - /home/user/.cache/Homebrew/neovim-0.9.0.gem
@JuPlutonic
Copy link
Author

This is ruby installation script in Homebrew, which uses for rubygems $HOMEBREW_PREFIX/"lib/ruby/gems/#{api_version}/bin"
and all content is symlinked it to $(brew --prefix ruby)/libexec/"gembin/*"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant