[英]How to change vim ruby version
我是vim的菜鳥,我想使用command-t
插件,在atom中真的習慣了。 我已經完成了github repo中的所有操作,但無法按照如何更改我的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
除了我說的話,我很難跟上回購的幫助,並告訴我命令沒有幫助。 所以我的問題是,改變我的vim版本的最佳方法是什么?
請嘗試以下方法:
$ cd ~/.vim/bundle/command-t/ruby/command-t/
$ rbenv local system
$ ruby extconf.rb
$ make clean
$ make
摘自這篇文章。 我之前遇到過這個問題,這些步驟對我有用。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.