From 77666f25df6141c01d7307cd4e5a579e3d47d807 Mon Sep 17 00:00:00 2001 From: Dana Merrick Date: Mon, 26 Oct 2015 13:37:04 -0700 Subject: [PATCH 1/2] Adding support for Mongo 3.0 c.p. http://stackoverflow.com/a/32913263 Basically Mongo 3.0 uses SCRAM-SHA-1 for auth, so projects created on Heroku after MongoLab moved to Mongo 3 will not deploy. You get the error in the link above. --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index c493c74..ea26a6b 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,7 @@ gem 'rack-flash3' gem 'rack_csrf' gem 'erubis' gem 'sinatra' +gem 'mongo', '~> 1.12' gem 'mongo_mapper' gem 'bson_ext' gem 'einhorn' From 25869af783fb5bac21f5ed13d537a2c46f9b9673 Mon Sep 17 00:00:00 2001 From: Ben Firshman Date: Wed, 30 Mar 2016 17:02:12 -0700 Subject: [PATCH 2/2] Update Gemfile.lock --- Gemfile.lock | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1f55b54..b2c6da1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -23,9 +23,9 @@ GEM addressable (>= 2.3.1) extlib (>= 0.9.15) multi_json (>= 1.0.0) - bson (1.11.1) - bson_ext (1.11.1) - bson (~> 1.11.1) + bson (1.12.5) + bson_ext (1.12.5) + bson (~> 1.12.5) builder (3.2.2) chalk-config (0.2.1) configatron (~> 4.4) @@ -70,8 +70,8 @@ GEM minitest (5.4.3) mocha (1.1.0) metaclass (~> 0.0.1) - mongo (1.11.1) - bson (= 1.11.1) + mongo (1.12.5) + bson (= 1.12.5) mongo_mapper (0.13.1) activemodel (>= 3.0.0) activesupport (>= 3.0) @@ -131,6 +131,7 @@ DEPENDENCIES google-api-client mail mocha + mongo (~> 1.12) mongo_mapper pry puma