Commit d209219145eff6bf48818d1cec07247927e4ecf1

Authored by Rafael Manzo
1 parent 802ce946

Correctly use ENV vars for setting the production configurations

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
config/environments/production.rb
@@ -93,8 +93,8 @@ Rails.application.configure do @@ -93,8 +93,8 @@ Rails.application.configure do
93 address: 'smtp.gmail.com', 93 address: 'smtp.gmail.com',
94 port: 587, 94 port: 587,
95 domain: 'mezuro.org', 95 domain: 'mezuro.org',
96 - user_name: "<%= ENV['SMTP_USERNAME'] %>", # Configure these as a environment vars on the production server  
97 - password: "<%= ENV['SMTP_PASSWORD'] %>", 96 + user_name: ENV['SMTP_USERNAME'], # Configure these as a environment vars on the production server
  97 + password: ENV['SMTP_PASSWORD'],
98 authentication: 'plain', 98 authentication: 'plain',
99 enable_starttls_auto: true } 99 enable_starttls_auto: true }
100 100
@@ -107,6 +107,6 @@ Rails.application.configure do @@ -107,6 +107,6 @@ Rails.application.configure do
107 } 107 }
108 108
109 # Google Analytics 109 # Google Analytics
110 - GA.tracker = "<%= ENV['GA_TRACKER'] %>" #"UA-54363591-1" 110 + GA.tracker = ENV['GA_TRACKER']
111 GA.script_source = :doubleclick 111 GA.script_source = :doubleclick
112 end 112 end