[英]rails bundler error : Shopify_app
我在我的gemfile中列出了以下gem,运行“bundle install”后我得到以下错误。 有人可以告诉我该怎么做,在哪里列出或编辑正确的宝石/依赖项
宝石文件:
宝石'轨道','〜> 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(<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无法在Gemfile中列出的任何gem源中找到gem'shopify_app x64-mingw32'。 运行bundle install
以安装缺少的gem。
如果你仔细阅读shopify_app的github自述文件,你会发现ruby R版本之间存在一些问题:
所以,你必须这样做:
gem 'shopify_app'
gem 'activeresource', github: 'rails/activeresource'
了解更多信息 - > github shoopy
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.