Vim Command-T插件错误:无法加载C扩展名 [英] Vim Command-T plugin error: could not load the C extension

查看:75
本文介绍了Vim Command-T插件错误:无法加载C扩展名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装Command-T插件.

I'm trying to install the Command-T plugin.

我按照此注释中的说明编译了vim:使用以下命令安装vim:红宝石支持(+红宝石)

I compiled vim following the instructions in this comment: Installing vim with ruby support (+ruby)

所以现在有+ ruby​​标志,但是当我尝试使用插件时,仍然出现此错误:

So now there's the +ruby flag, but still when I try to use the plugin I get this error:

command-t.vim could not load the C extension
Please see INSTALLATION and TROUBLE-SHOOTING in the help              
For more information type:    :help command-t

我的系统上有红宝石:

> ruby -v
> ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

建议?

推荐答案

转到插件目录并运行以下命令:

Go to plugin dir and run the following command:

rake make

它将编译您所需的插件扩展.

It compiles the plugin extension you need.

这篇关于Vim Command-T插件错误:无法加载C扩展名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆