首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >rails 6的Solidus安装问题

rails 6的Solidus安装问题
EN

Stack Overflow用户
提问于 2019-09-18 08:06:13
回答 1查看 371关注 0票数 2

我一直尝试在我的mac上安装Solidus,为此我遵循了文档https://guides.solidus.io/developers/getting-started/first-time-installation.html

我使用的是ruby版本ruby 2.6.3p62 (2019-0416修订版67580) x86_64-darwin18 18和rails版本6.0.0

加后

代码语言:javascript
复制
gem 'solidus'
gem 'solidus_auth_devise'

在尝试bundle install时,我面临以下问题

代码语言:javascript
复制
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没有任何支持。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-09-19 11:45:36

Solidus 2.10.0.beta1刚刚被释放。通过这种方式,您也可以在Rails 6中尝试使用以下方法:

代码语言:javascript
复制
gem 'solidus', '~> 2.10.0.beta1'

在你的档案里。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57987913

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档