Mercurial > zeropaste
view config/default_config.rb @ 359:824ac1165404
Update gems.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 04 Nov 2014 10:42:41 +0900 |
parents | 56382cb104dd |
children | 68eb23b52864 |
line wrap: on
line source
CONFIG["standalone"] = true if CONFIG["standalone"].nil? CONFIG["newrelic"] = false if CONFIG["newrelic"].nil? CONFIG["bundler_groups"] ||= [:default, Rails.env] CONFIG["bundler_groups"] << "standalone" if CONFIG["standalone"] CONFIG["bundler_groups"] << "newrelic" if CONFIG["newrelic"] CONFIG["secret_key"] ||= ENV["ZP_SECRET_KEY"] if ENV["ZP_SECRET_KEY"] CONFIG["newrelic"] = (ENV["ZP_NEWRELIC"] == 1) if ENV["ZP_NEWRELIC"]