From d209219145eff6bf48818d1cec07247927e4ecf1 Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Tue, 16 Sep 2014 14:32:47 -0300 Subject: [PATCH] Correctly use ENV vars for setting the production configurations --- config/environments/production.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 3d4294b..9853b6f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -93,8 +93,8 @@ Rails.application.configure do address: 'smtp.gmail.com', port: 587, domain: 'mezuro.org', - user_name: "<%= ENV['SMTP_USERNAME'] %>", # Configure these as a environment vars on the production server - password: "<%= ENV['SMTP_PASSWORD'] %>", + user_name: ENV['SMTP_USERNAME'], # Configure these as a environment vars on the production server + password: ENV['SMTP_PASSWORD'], authentication: 'plain', enable_starttls_auto: true } @@ -107,6 +107,6 @@ Rails.application.configure do } # Google Analytics - GA.tracker = "<%= ENV['GA_TRACKER'] %>" #"UA-54363591-1" + GA.tracker = ENV['GA_TRACKER'] GA.script_source = :doubleclick end -- libgit2 0.21.2