Commit 4b06b05574cce18c9058b7768b94aa948362f369
Committed by
Stephen Crosby
1 parent
da07aa7b
Exists in
master
adding MONGODB_URI to support recent heroku change (#1089)
* adding MONGODB_URI to support recent heroku change * updating documentation to refer to MONGODB_URI * missed space
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
config/load.rb
| ... | ... | @@ -26,7 +26,7 @@ Errbit::Config = Configurator.run( |
| 26 | 26 | |
| 27 | 27 | serve_static_assets: ['SERVE_STATIC_ASSETS'], |
| 28 | 28 | secret_key_base: ['SECRET_KEY_BASE'], |
| 29 | - mongo_url: %w(MONGOLAB_URI MONGOHQ_URL MONGODB_URL MONGO_URL), | |
| 29 | + mongo_url: %w(MONGODB_URI MONGOLAB_URI MONGOHQ_URL MONGODB_URL MONGO_URL), | |
| 30 | 30 | |
| 31 | 31 | # github |
| 32 | 32 | github_url: ['GITHUB_URL', lambda do |values| | ... | ... |
docs/configuration.md
| ... | ... | @@ -56,7 +56,7 @@ In order of precedence Errbit uses: |
| 56 | 56 | <dd>For production environments, you should run `rake secret` to generate a secret, unique key for this parameter |
| 57 | 57 | <dd>defaults to f258ed69266dc8ad0ca79363c3d2f945c388a9c5920fc9a1ae99a98fbb619f135001c6434849b625884a9405a60cd3d50fc3e3b07ecd38cbed7406a4fccdb59c |
| 58 | 58 | <dt>MONGO_URL |
| 59 | -<dd>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 | |
| 59 | +<dd>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 | |
| 60 | 60 | <dd>defaults to mongodb://localhost/errbit_<Rails.env> |
| 61 | 61 | <dt>GITHUB_URL |
| 62 | 62 | <dd>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 | ... | ... |