Closed Quintasan closed 7 years ago
That's strange... this
doesn't appear anywhere in the 0.3.1 version. What's the output of
cat `which neovim-ruby-host`
cat 'which neovim-ruby-host'
#!/usr/bin/env ruby_executable_hooks
#
# This file was generated by RubyGems.
#
# The application 'neovim' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'rubygems'
version = ">= 0.a"
if ARGV.first
str = ARGV.first
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
version = $1
ARGV.shift
end
end
gem 'neovim', version
load Gem.bin_path('neovim', 'neovim-ruby-host', version)
The only thing that I recently did is upgrade neovim.
Upgrade the neovim editor or upgrade the neovim rubygem?
I'm afraid both are the latest versions.
But which did you upgrade before seeing the exception?
I mean the editor. I really should focus on what I'm reading today.
I've seen this issue pop up elsewhere, it seems like gem pristine neovim
or gem pristine --all
should fix it. Either that or it's a bad installation of RubyGems, in which case you should just use a more recent version of Ruby.
https://github.com/rubygems/rubygems/issues/1420 https://github.com/sj26/mailcatcher/issues/267 https://github.com/rubysec/bundler-audit/issues/157
So far so good. Looks like the problem is gone. Thanks.
I got this after upgrading neovim today.