Trying to install mongoid 3.1.6 on rails 4.1
Bundler could not find compatible versions for gem "activemodel": In the Gemfile:
mongoid (~> 3.1.6) ruby depends on
activemodel (~> 3.2) ruby
rails (= 4.1.0) ruby depends on
activerecord (= 4.1.0) ruby depends on
activemodel (4.1.0)
It works fine when mongoid is downgraded to 1.0.6, but I need to use mongoid 3.1.6 in 4.1 rails. Is there a solution to solve this problem?
source
share