Sha256: 6f3e9c1375a984341f746797f21963872148463bcfaa338d175442e3bb727dd8

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

require 'production_toolkit/railtie' if defined?(Rails)

TOOL_DEFAULTS = {
  config_fetcher:      'pansophy',
  error_reporting:     'rollbar',
  log_files:           'le',
  performance_monitor: 'newrelic_rpm',
  server:              'unicorn'
}

TOOL_DEFAULTS.each_pair do |tool_name, default|
  tool = ENV.fetch(tool_name.to_s.upcase, default)
  require tool unless tool == 'off'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
production_toolkit-0.1.1 lib/production_toolkit.rb