【发布时间】:2019-09-18 08:06:13
【问题描述】:
我一直在尝试在我的 Mac 上安装 Solidus,为此我遵循了文档https://guides.solidus.io/developers/getting-started/first-time-installation.html
我正在使用 ruby 版本 ruby 2.6.3p62(2019-04-16 修订版 67580)[x86_64-darwin18] 和 rails 版本 6.0.0
添加后
gem 'solidus'
gem 'solidus_auth_devise'
在尝试bundle install 时,我遇到了以下问题
Bundler could not find compatible versions for gem "actionpack":
In snapshot (Gemfile.lock):
actionpack (= 6.0.0)
In Gemfile:
rails (~> 6.0.0) was resolved to 6.0.0, which depends on
actionpack (= 6.0.0)
solidus was resolved to 2.5.0.beta1, which depends on
solidus_core (= 2.5.0.beta1) was resolved to 2.5.0.beta1, which depends on
actionpack (~> 5.1.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "rails":
In snapshot (Gemfile.lock):
rails (= 6.0.0)
In Gemfile:
rails (~> 6.0.0)
solidus was resolved to 1.0.0.pre, which depends on
solidus_core (= 1.0.0.pre) was resolved to 1.0.0.pre, which depends on
rails (~> 4.2.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
我是否遗漏了某些东西或弄乱了 rails 版本?我可以理解它需要 rails 版本 5.1.0,但是不支持带有solidus 的 rails 6。
【问题讨论】:
标签: ruby-on-rails spree ruby-on-rails-6 solidus