Problem with Vim's Ruby plugin

后端 未结 6 1087
一整个雨季
一整个雨季 2021-02-13 18:34

I have just installed Vim and when ever I go to open in ruby file I get these errors:

Error detected while processing C:\\Program files (x86)\\Vim\\vimfiles\\ftp         


        
6条回答
  •  不知归路
    2021-02-13 19:06

    How did you install Ruby?

    Go into irb and enter:

    Gem.all_load_paths.uniq
    

    which should return a list of paths to your install gems that Gem knows about also.

    That's what is failing in your error message and leads me to suspect you are missing some path or environment info, because it looks like vim isn't able to find your Ruby gems correctly.

    Encoding::ConverterNotFoundError is a core library exception, so that part is working, but it looks like the Gem command isn't working.

提交回复
热议问题