如何更改 vim ruby 版本
How to change vim ruby version
我是 vim 的新手,我想使用 command-t
插件,在 atom 中已经习惯了。我已完成 github 存储库中的所有操作,但无法了解如何更改我的 vim 正在使用的 ruby 版本。当我尝试使用 command-t
时,它会抛出此错误...
command-t could not load the C extension.
Please see INSTALLATION and TROUBLESHOOTING in the help
VIM Ruby version 2.0.0-p648
Expected version 2.4.1-p111
for more information type: :help command-t
除非像我说的那样,我很难理解 repo 上的帮助,它告诉我 command-t 没有帮助。所以我的问题是,更改我的 vim 版本的最佳方法是什么?
尝试以下操作:
$ cd ~/.vim/bundle/command-t/ruby/command-t/
$ rbenv local system
$ ruby extconf.rb
$ make clean
$ make
摘自 this post。我以前遇到过这个问题,这些步骤对我有用。
我是 vim 的新手,我想使用 command-t
插件,在 atom 中已经习惯了。我已完成 github 存储库中的所有操作,但无法了解如何更改我的 vim 正在使用的 ruby 版本。当我尝试使用 command-t
时,它会抛出此错误...
command-t could not load the C extension.
Please see INSTALLATION and TROUBLESHOOTING in the help
VIM Ruby version 2.0.0-p648
Expected version 2.4.1-p111
for more information type: :help command-t
除非像我说的那样,我很难理解 repo 上的帮助,它告诉我 command-t 没有帮助。所以我的问题是,更改我的 vim 版本的最佳方法是什么?
尝试以下操作:
$ cd ~/.vim/bundle/command-t/ruby/command-t/
$ rbenv local system
$ ruby extconf.rb
$ make clean
$ make
摘自 this post。我以前遇到过这个问题,这些步骤对我有用。