From 4b06b05574cce18c9058b7768b94aa948362f369 Mon Sep 17 00:00:00 2001 From: Matt Berther Date: Thu, 21 Apr 2016 14:04:07 -0600 Subject: [PATCH] adding MONGODB_URI to support recent heroku change (#1089) --- config/load.rb | 2 +- docs/configuration.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/load.rb b/config/load.rb index 7418a04..e3789a6 100644 --- a/config/load.rb +++ b/config/load.rb @@ -26,7 +26,7 @@ Errbit::Config = Configurator.run( serve_static_assets: ['SERVE_STATIC_ASSETS'], secret_key_base: ['SECRET_KEY_BASE'], - mongo_url: %w(MONGOLAB_URI MONGOHQ_URL MONGODB_URL MONGO_URL), + mongo_url: %w(MONGODB_URI MONGOLAB_URI MONGOHQ_URL MONGODB_URL MONGO_URL), # github github_url: ['GITHUB_URL', lambda do |values| diff --git a/docs/configuration.md b/docs/configuration.md index a02ed66..50911b9 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -56,7 +56,7 @@ In order of precedence Errbit uses:
For production environments, you should run `rake secret` to generate a secret, unique key for this parameter
defaults to f258ed69266dc8ad0ca79363c3d2f945c388a9c5920fc9a1ae99a98fbb619f135001c6434849b625884a9405a60cd3d50fc3e3b07ecd38cbed7406a4fccdb59c
MONGO_URL -
URL connection string for mongo in the form mongodb://username:password@example.com:port To more easily set up connections to third party mongo providers, you can call this value MONGOLAB_URI, MONGOHQ_URL, MONGODB_URL or MONGO_URL +
URL connection string for mongo in the form mongodb://username:password@example.com:port To more easily set up connections to third party mongo providers, you can call this value MONGODB_URI, MONGOLAB_URI, MONGOHQ_URL, MONGODB_URL or MONGO_URL
defaults to mongodb://localhost/errbit_<Rails.env>
GITHUB_URL
Use this URL for interacting github. This is useful if you have a github enterprise account and you're using a URL other than https://github.com -- libgit2 0.21.2