【问题标题】:rails bundler error : Shopify_apprails bundler 错误:Shopify_app
【发布时间】:2017-05-02 19:55:03
【问题描述】:

我在下面列出了 我的gemfile中的gem,运行“bundle install”后,我得到以下信息 错误。 有人可以告诉我该怎么做,在哪里列出或编辑正确的 宝石/依赖项

宝石文件:

gem 'rails', '~> 5.0.2' 宝石“shopify_app”

============================

Bundler 找不到 gem "activesupport" 的兼容版本: 在 Gemfile 中: shopify_app x64-mingw32 已解析为 7.0.10,这取决于 shopify_api (~> 4.2) x64-mingw32 被解析为 4.2.0,即 取决于 activeresource x64-mingw32 被解析为 2.0.1,这取决于 在 activesupport (= 2.0.1) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on
  activejob (= 5.0.2) x64-mingw32 was resolved to 5.0.2, which

取决于 globalid (>= 0.3.6) x64-mingw32 被解析为 0.4.0,即 取决于 activesupport (>= 4.2.0) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on
  activesupport (= 5.0.2) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on
  activesupport (= 5.0.2) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on
  activesupport (= 5.0.2) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on
  activesupport (= 5.0.2) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on
  activesupport (= 5.0.2) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on
  activesupport (= 5.0.2) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on
  activesupport (= 5.0.2) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on
  actionpack (= 5.0.2) x64-mingw32 was resolved to 5.0.2, which

取决于 rails-dom-testing (~> 2.0) x64-mingw32 被解析为 2.0.2,即 取决于 activesupport (= 4.2.0) x64-mingw32

rails (~> 5.0.2) x64-mingw32 was resolved to 5.0.2, which depends on

sprockets-rails (>= 2.0.0) x64-mingw32 被解析为 3.2.0,即 取决于 主动支持 (>= 4.0) x64-mingw32 Bundler 找不到 gem "rails" 的兼容版本: 在 Gemfile 中: 导轨 (~> 5.0.2) x64-mingw32

shopify_app x64-mingw32 was resolved to 0.1.0, which depends on
  rails (~> 3) x64-mingw32

D:\Ruby On Rails\firstRailsProject>rails s 在任何 gem 源中找不到 gem 'shopify_app x64-mingw32' 列于 你的 Gemfile。 运行 bundle install 来安装缺失的 gem。

【问题讨论】:

    标签: ruby-on-rails shopify


    【解决方案1】:

    如果你仔细阅读 shopify_app 的 github 自述文件,你会发现 ruby​​ R 版本之间存在一些问题:

    所以,你必须这样做:

    gem 'shopify_app'
    gem 'activeresource', github: 'rails/activeresource'
    

    更多信息 -> github shoopy

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-04-13
      • 1970-01-01
      • 2022-08-14
      • 2014-03-02
      • 2013-05-06
      • 1970-01-01
      • 2020-10-29
      • 1970-01-01
      相关资源
      最近更新 更多