From 9e609fa24c40e686d5e0ffc51b37c95a0052cabe Mon Sep 17 00:00:00 2001 From: Helge Rausch Date: Fri, 23 Oct 2015 21:28:48 +0200 Subject: [PATCH] Load dotenv in production --- .env.example | 2 +- Gemfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 572ec16..6ab7e29 100644 --- a/.env.example +++ b/.env.example @@ -8,7 +8,7 @@ export SECRET_KEY_BASE=foo export SECRET_TOKEN=bar export RAILS_ENV=development export POSTGRES_URL="postgres://localhost/snpr_$RAILS_ENV" -#export REDIS_URL= +export REDIS_URL=redis://localhost export FITBIT_CONSUMER_KEY=foo export FITBIT_CONSUMER_SECRET=bar export PLOS_API_KEY=foo diff --git a/Gemfile b/Gemfile index d010335..4e176da 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'http://rubygems.org' -gem 'dotenv-rails', groups: %i(development test) +gem 'dotenv-rails' gem 'rails', '~> 4.2.0' gem 'authlogic' # lots of user-related magic