ruby - Vim Command-T 插件错误 : could not load the C extension

标签 ruby vim plugins

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

我按照评论中的说明编译了 vim:Installing vim with ruby support (+ruby)

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

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 :

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

建议?

最佳答案

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

rake make

它编译你需要的插件扩展。

关于ruby - Vim Command-T 插件错误 : could not load the C extension,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7923002/

相关文章:

javascript - Ruby/JS 如何在提交按钮后重新加载页面?

MySql 数据源和 MySQL 项目模板未出现在 Visual Studio 2013 社区版中

带有引号的 Ruby 字符串用于 shell 命令参数?

ruby-on-rails - ruby 的零?功能不工作

ruby-on-rails - 如何在 Rails 中为 ckeditor 添加皮肤?

templates - Grails动态更新模板属性

eclipse - java 已启动但返回退出代码 = -805306369

regex - 将 a*b**N 替换为 a*pow(b,N)

mapping - 无法在 Vim 中映射 <C-J>

更改文件并保存的shell命令