尝试将 Rails 6.0.0 与 Mongoid 6.1.0 一起使用
gem 'rails', '~> 6.0.0' gem 'mongoid', '~> 6.1.0'
已经尝试不在 Gemfile 中设置 mongoid 版本,但仍然无法正常工作。
Bundler 找不到 gem "activemodel" 的兼容版本:
在 Gemfile 中:
mongoid (~> 6.1.0) 被解析为 6.1.1,这取决于 activemodel (~> 5.0
rails (~> 6.0.0) 被解析为 6.0.0,这取决于 activemodel (= 6.0.0)