Mercurial > zeropaste
comparison config/default_config.rb @ 431:68eb23b52864
Rails 5 \o/
author | nanaya <me@myconan.net> |
---|---|
date | Fri, 13 May 2016 03:56:07 +0900 |
parents | 56382cb104dd |
children |
comparison
equal
deleted
inserted
replaced
430:6257da6e1aa1 | 431:68eb23b52864 |
---|---|
1 CONFIG["standalone"] = true if CONFIG["standalone"].nil? | 1 CONFIG["standalone"] = true if CONFIG["standalone"].nil? |
2 CONFIG["newrelic"] = false if CONFIG["newrelic"].nil? | 2 CONFIG["newrelic"] = false if CONFIG["newrelic"].nil? |
3 CONFIG["log_to_stdout"] = true if CONFIG["log_to_stdout"].nil? | |
3 CONFIG["bundler_groups"] ||= [:default, Rails.env] | 4 CONFIG["bundler_groups"] ||= [:default, Rails.env] |
4 CONFIG["bundler_groups"] << "standalone" if CONFIG["standalone"] | 5 CONFIG["bundler_groups"] << "standalone" if CONFIG["standalone"] |
5 CONFIG["bundler_groups"] << "newrelic" if CONFIG["newrelic"] | 6 CONFIG["bundler_groups"] << "newrelic" if CONFIG["newrelic"] |
6 | 7 |
7 CONFIG["secret_key"] ||= ENV["ZP_SECRET_KEY"] if ENV["ZP_SECRET_KEY"] | 8 CONFIG["secret_key"] ||= ENV["ZP_SECRET_KEY"] if ENV["ZP_SECRET_KEY"] |