0

我正在将我的应用程序的 rails 版本从“4.2”更新到“6.0”。我的应用程序中有多个引擎。新的 rails 版本没有反映在引擎的 gemfile.lock 中,这导致运行bundle update rails命令时出现以下错误:

Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    rails (>= 6.0.3, ~> 6.0)

    admin was resolved to 0.0.1, which depends on
       customer was resolved to 0.0.1, which depends on
          emails was resolved to 0.0.1, which depends on
             rails (~> 4.2)

有谁知道如何解决这个错误,或者只是如何更新引擎的 gemfile.lock 中的 rails 版本?

4

0 回答 0