首页 > 解决方案 > 安装 ffi (1.10.0) 时出现 bootstrap 4.2.1 `bundle install` 错误

问题描述

我正在尝试bundle install在 bootstrap 4.2.1 上运行并收到此错误

An error occurred while installing ffi (1.10.0), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.10.0' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  jekyll-redirect-from was resolved to 0.14.0, which depends on
    jekyll was resolved to 3.8.5, which depends on
      jekyll-sass-converter was resolved to 1.5.2, which depends on
        sass was resolved to 3.7.3, which depends on
          sass-listen was resolved to 4.0.0, which depends on
            rb-inotify was resolved to 0.10.0, which depends on
              ffi

我尝试了什么:

人们说这是一个 mac Mojave 问题......我搜索了所有其他问题,但没有有效的修复程序。

如何解决?

标签: npmterminalbootstrap-4ffi

解决方案


从重量超过 10gb 的 mac 商店安装 xcode 后,问题已得到修复,只是为了几个依赖


推荐阅读