ruby 我想使用mailcatcher的confirmable在设计宝石,但得到这个当我运行捆绑安装?

cgyqldqp  于 2023-03-17  发布在  Ruby
关注(0)|答案(1)|浏览(106)

有人能帮我吗?我正在使用Rails7.0.2.3

Bundler could not find compatible versions for gem "rack":
  In snapshot (Gemfile.lock):
    rack (= 2.2.3)
  In Gemfile:
    rails (~> 7.0.2, >= 7.0.2.3) was resolved to 7.0.2.3, which depends on
      actionpack (= 7.0.2.3) was resolved to 7.0.2.3, which depends on
        rack (~> 2.0, >= 2.2.0)
    mailcatcher (~> 0.8.2) was resolved to 0.8.2, which depends on
      rack (~> 1.5)
mwkjh3gx

mwkjh3gx1#

Mailcatcher不应该在你的gem文件中,你也不能通过bundle exec运行它。我在一个rails5项目上运行v0.6.4,先安装gem,然后安装mailcatcher。你试过吗?

相关问题