macOS 10.12 Sierra 上的捆绑错误

Posted

技术标签:

【中文标题】macOS 10.12 Sierra 上的捆绑错误【英文标题】:Bundle Error on macOS 10.12 Sierra 【发布时间】:2016-10-12 05:56:03 【问题描述】:
Ignoring binding_of_caller-0.7.2 because its extensions are not built.  Try: gem pristine binding_of_caller --version 0.7.2
Ignoring byebug-9.0.6 because its extensions are not built.  Try: gem pristine byebug --version 9.0.6
Ignoring capybara-webkit-1.11.1 because its extensions are not built.  Try: gem pristine capybara-webkit --version 1.11.1
Ignoring debug_inspector-0.0.2 because its extensions are not built.  Try: gem pristine debug_inspector --version 0.0.2
Ignoring binding_of_caller-0.7.2 because its extensions are not built.  Try: gem pristine binding_of_caller --version 0.7.2
Ignoring byebug-9.0.6 because its extensions are not built.  Try: gem pristine byebug --version 9.0.6
Ignoring capybara-webkit-1.11.1 because its extensions are not built.  Try: gem pristine capybara-webkit --version 1.11.1
Ignoring debug_inspector-0.0.2 because its extensions are not built.  Try: gem pristine debug_inspector --version 0.0.2
Ignoring eventmachine-1.2.0.1 because its extensions are not built.  Try: gem pristine eventmachine --version 1.2.0.1
Ignoring eventmachine-1.0.9.1 because its extensions are not built.  Try: gem pristine eventmachine --version 1.0.9.1
Ignoring ffi-1.9.14 because its extensions are not built.  Try: gem pristine ffi --version 1.9.14
Ignoring http_parser.rb-0.6.0 because its extensions are not built.  Try: gem pristine http_parser.rb --version 0.6.0
Ignoring io-console-0.4.6 because its extensions are not built.  Try: gem pristine io-console --version 0.4.6
Ignoring json-2.0.2 because its extensions are not built.  Try: gem pristine json --version 2.0.2
Ignoring kgio-2.10.0 because its extensions are not built.  Try: gem pristine kgio --version 2.10.0
Ignoring mysql2-0.4.4 because its extensions are not built.  Try: gem pristine mysql2 --version 0.4.4
Ignoring nio4r-1.2.1 because its extensions are not built.  Try: gem pristine nio4r --version 1.2.1
Ignoring nokogiri-1.6.8.1 because its extensions are not built.  Try: gem pristine nokogiri --version 1.6.8.1
Ignoring pg-0.19.0 because its extensions are not built.  Try: gem pristine pg --version 0.19.0
Ignoring psych-2.1.1 because its extensions are not built.  Try: gem pristine psych --version 2.1.1
Ignoring puma-3.6.0 because its extensions are not built.  Try: gem pristine puma --version 3.6.0
Ignoring raindrops-0.17.0 because its extensions are not built.  Try: gem pristine raindrops --version 0.17.0
Ignoring rgeo-0.5.3 because its extensions are not built.  Try: gem pristine rgeo --version 0.5.3
Ignoring rmagick-2.16.0 because its extensions are not built.  Try: gem pristine rmagick --version 2.16.0
Ignoring sqlite3-1.3.11 because its extensions are not built.  Try: gem pristine sqlite3 --version 1.3.11
Ignoring therubyracer-0.12.2 because its extensions are not built.  Try: gem pristine therubyracer --version 0.12.2
Ignoring thin-1.5.1 because its extensions are not built.  Try: gem pristine thin --version 1.5.1
Ignoring unf_ext-0.0.7.2 because its extensions are not built.  Try: gem pristine unf_ext --version 0.0.7.2
Ignoring unicorn-5.1.0 because its extensions are not built.  Try: gem pristine unicorn --version 5.1.0
Ignoring websocket-driver-0.6.4 because its extensions are not built.  Try: gem pristine websocket-driver --version 0.6.4
The git source `git://github.com/plataformatec/devise.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.
The git source `git://github.com/jetthoughts/yaml_db.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.

有没有办法解决这个问题?

【问题讨论】:

【参考方案1】:

重新安装您正在使用的 Ruby 版本(通过 rbenv、rvm 等),然后运行 ​​gem pristine --all 以使用本机扩展重新构建任何 gem。

【讨论】:

非常感谢 :) 谢谢:2018 年 10 月 16 日星期二仍然如此。

以上是关于macOS 10.12 Sierra 上的捆绑错误的主要内容,如果未能解决你的问题,请参考以下文章

Jenkins 无法在 macOS 10.12 (Sierra) 上启动

升级到 macOS 10.12 (Sierra) 后,使用 Capistrano 部署代码时出现问题,“权限被拒绝(公钥)”。

在 OS X 10.11 El Capitan、macOS 10.12 Sierra、macOS 10.13 High Sierra (< 10.13.3) 上安装 pecl 和 pear

macOS Sierra 10.12显示允许任何来源

macOS sierra 10.12 Cocoapods 私有库

黑苹果macOS Sierra 10.12 安装教程(venue11 pro测试)