neovim / neovim-ruby

Ruby support for Neovim
MIT License
340 stars 17 forks source link

lib/neovim/ruby_provider.rb is broken on release 0.7.0 #51

Closed anjos closed 6 years ago

anjos commented 6 years ago

If I use this release, neovim keeps complaining about StringIO not being defined with:

NameError: uninitialized constant Neovim::RubyProvider::StringIO

Simple test - install the plugin, run :UpdateRemotePlugins, then run :ruby puts 'hello'.

Fixing: just require "stringio" on the header of lib/neovim/ruby_provider.rb. I hope it helps

alexgenco commented 6 years ago

Good catch! I thought that was stdlib but I guess not. Feel free to PR the change, otherwise I'll get to it probably next week.

alexgenco commented 6 years ago

Just pushed 0.7.1 to rubygems. Please reopen if you have further issues.