当我试图从 4.2.11.1 迁移到 5.0.1 时,我在升级各种 gem 时遇到了这个错误。动作包的示例错误:
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
rails (= 5.0.1) was resolved to 5.0.1, which depends on
actionpack (= 5.0.1)
simple_form (= 5.0.0) was resolved to 5.0.0, which depends on
actionpack (>= 5.0)
twitter-bootstrap-rails (= 4.0.0) was resolved to 4.0.0, which depends on
actionpack (~> 5.0, >= 5.0.1)
就我对 gem 版本的理解而言,这不应该是一个错误,因为 5.0.1 版本满足所有依赖项。有人可以解释我怎样才能摆脱这些错误吗?我在升级时遇到了很多这样的错误