rails bundler错误:Shopify_app

时间:2017-05-02 19:55:04

标签: ruby-on-rails shopify

我列出了以下内容 宝石在我的宝石文件中和运行后#34;捆绑安装"我得到以下 错误。 有人能告诉我该怎么做,在哪里列出或编辑正确的 宝石/依赖

gem文件:

gem' rails','〜> 5.0.2' gem' 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(< 6.0,> = 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,其中 依赖于取决于         activesupport(> = 4.0)x64-mingw32 Bundler找不到gem" rails"的兼容版本:   在Gemfile中:     rails(〜> 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' shopify_app x64-mingw32'在任何宝石来源 列于  你的Gemfile。 运行bundle install以安装缺少的宝石。

1 个答案:

答案 0 :(得分:0)

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

所以,你必须这样做:

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

了解更多信息 - > github shoopy