Created
July 15, 2014 02:50
-
-
Save maca/caa8db62653be1ece4fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
development: | |
secret_key_base: 'hardoced-value-for-simplicity' | |
facebook_app_id: 'hardoced-value-for-simplicity' | |
facebook_app_secret: 'hardoced-value-for-simplicity' | |
production: | |
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> # I want to raise an exception early if the ENV var is not set | |
facebook_app_id: <%= ENV["FACEBOOK_APP_ID"] %> | |
facebook_app_secret: <%= ENV["FACEBOOK_APP_SECRET"] %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<%= ENV['SECRET_KEY_BASE'] || raise 'value not set' %>
Won't cut it