我刚刚安装了Vim,当我去
ruby文件打开我得到这些错误:
Error detected while processing C:\Program files (x86)\Vim\vimfiles\ftplugin\ruby.vim line: 76 Encoding::ConverterNotFoundError: code converter not found (UTF-16LE to ASCII-8bit) line: 93 E121 :Undefined varaible: s:ruby_path E15: Invalid expression: s:ruby_path line: 76 NameError: uninitialized constant Gem::Quickloader line: 93
我安装了Ruby 192,即使我更新ruby vim文件,我也收到这个错误.
这些是错误指向的两条线,如果它有帮助:
line 76: ruby VIM::command( 'let s:ruby_path = "%s"' % ($: + begin; require %q{rubygems}; Gem.all_load_paths.sort.uniq; rescue LoadError; []; end).join(%q{,}) ) line 93: let &l:path = s:ruby_path