尝试在现有应用程序中使用 Rails 6 beta。更新了 Gemfile 以包含gem 'rails', '6.0.0.beta3'
不幸的是,一些 gem,比如active_model_serializers依赖于版本“< 6”,并且没有我能找到的测试版。
除了分叉和制作我自己的版本之外的任何解决方法?
$ 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)