From e83d6cebf69fd78e3c9830992209601fdc3e0f23 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Mon, 3 Oct 2016 19:43:03 +0900 Subject: [PATCH] Test mongo_mapper with Rails 4 It's hard to bundle mongo_mapper without AR on Rails 5 because Rails 5 + mongo_mapper requires activemodel-serializers-xml gem that depends on activerecord gem --- gemfiles/mongo_mapper.gemfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gemfiles/mongo_mapper.gemfile b/gemfiles/mongo_mapper.gemfile index b7e35f2..3c95c64 100644 --- a/gemfiles/mongo_mapper.gemfile +++ b/gemfiles/mongo_mapper.gemfile @@ -1,6 +1,7 @@ source 'https://rubygems.org' -gem 'railties', '>= 3.2.3' +# Rails 5 + mongo_mapper requires activemodel-serializers-xml gem that depends on activerecord gem +gem 'railties', '~> 4.2.0' gem 'bson', '~> 1.9.2' gem 'mongo_mapper', '>= 0.11.0' gem 'rspec-rails', '~> 2.14.1'