尝试在现有应用程序中试用Rails 6 beta。更新了Gemfile,使其包含gem 'rails', '6.0.0.beta3'
不幸的是,有些宝石,例如 active_model_serializers 依赖于版本“ <6”,并且在测试中没有可以找到的beta。
除了派生和制作自己的版本以外,还有其他解决方法吗?
$ bundle update
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
active_model_serializers (~> 0.10.7) was resolved to 0.10.9, which depends on
activemodel (>= 4.1, < 6)
clearance (= 1.17.0) was resolved to 1.17.0, which depends on
activemodel (>= 3.1)
clearance (= 1.17.0) was resolved to 1.17.0, which depends on
email_validator (~> 1.4) was resolved to 1.6.0, which depends on
activemodel
rails (~> 6.0.0.beta3) was resolved to 6.0.0.beta3, which depends on
activemodel (= 6.0.0.beta3)
simple_form (~> 4.1) was resolved to 4.1.0, which depends on
activemodel (>= 5.0)