ruby-on-rails - Vim/command-T : Ignoring "gem-name" because its extensions are not built. 尝试 gem pristine "gem-name"

标签 ruby-on-rails ruby vim vim-plugin

每当我在 MacVim 中第一次打开 command-T 插件时,我都会看到以下终端:

Ignoring atomic-1.1.13 because its extensions are not built.  Try: gem pristine atomic-1.1.13
Ignoring atomic-1.1.10 because its extensions are not built.  Try: gem pristine atomic-1.1.10
Ignoring bcrypt-3.1.7 because its extensions are not built.  Try: gem pristine bcrypt-3.1.7
Ignoring bcrypt-ruby-3.0.1 because its extensions are not built.  Try: gem pristine bcrypt-ruby-3.0.1
Ignoring eventmachine-1.0.3 because its extensions are not built.  Try: gem pristine eventmachine-1.0.3
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks-1.3.2
Ignoring ffi-1.9.3 because its extensions are not built.  Try: gem pristine ffi-1.9.3
Ignoring ffi-1.9.0 because its extensions are not built.  Try: gem pristine ffi-1.9.0
Ignoring ffi-1.4.0 because its extensions are not built.  Try: gem pristine ffi-1.4.0
Ignoring gem-wrappers-1.2.4 because its extensions are not built.  Try: gem pristine gem-wrappers-1.2.4
Ignoring json-1.8.1 because its extensions are not built.  Try: gem pristine json-1.8.1
Ignoring json-1.8.0 because its extensions are not built.  Try: gem pristine json-1.8.0
Ignoring nokogiri-1.6.3.1 because its extensions are not built.  Try: gem pristine nokogiri-1.6.3.1
Ignoring nokogiri-1.6.0 because its extensions are not built.  Try: gem pristine nokogiri-1.6.0
Ignoring nokogiri-1.5.6 because its extensions are not built.  Try: gem pristine nokogiri-1.5.6
Ignoring pg-0.17.1 because its extensions are not built.  Try: gem pristine pg-0.17.1
Ignoring pg-0.17.0 because its extensions are not built.  Try: gem pristine pg-0.17.0
Ignoring pg-0.15.1 because its extensions are not built.  Try: gem pristine pg-0.15.1
Ignoring pg-0.14.1 because its extensions are not built.  Try: gem pristine pg-0.14.1
Ignoring sqlite3-1.3.9 because its extensions are not built.  Try: gem pristine sqlite3-1.3.9
Ignoring sqlite3-1.3.8 because its extensions are not built.  Try: gem pristine sqlite3-1.3.8
Ignoring sqlite3-1.3.7 because its extensions are not built.  Try: gem pristine sqlite3-1.3.7
Ignoring thin-1.6.2 because its extensions are not built.  Try: gem pristine thin-1.6.2

有什么想法吗?

最佳答案

我最近从 rvm 切换到 chruby 并运行 gem update --system,这就是我开始出现问题的时候。从那以后,每当我运行bundle时,我都会受到同样的警告。

忽略 curb-0.8.6,因为它的扩展尚未构建。尝试:gem pristine curb-0.8.6

这个,加上其他 gem 的许多其他警告。

不确定是什么解决了这个问题,但我做了两件事,警告就消失了:

gem update bundler
gem install curb

关于ruby-on-rails - Vim/command-T : Ignoring "gem-name" because its extensions are not built. 尝试 gem pristine "gem-name",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25468766/

相关文章:

ruby - 为什么ruby循环不退出

vim - 在暂停 vim 时设置光标形状

Vim 自动完成命令搜索外部文件

regex - 关于删除每行尾随空格的 Vim 正则表达式

ruby-on-rails - :dependent => :destroy isn't calling the destroy method before the deletion?

ruby-on-rails - Controller 方法#show 被调用

ruby-on-rails - Rails 3 HTTP-header If-Modified-Since 使用 curl

ruby-on-rails - Rails 4 强参数

ruby - Watir:查找包含特定子项的父 div

ruby-on-rails - 如何在 github actions 中使用parallel_tests