Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 30 lines (25 sloc) 0.954 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Gemcutter::Application.configure do
  config.cache_classes = true
  config.consider_all_requests_local = false
  config.action_controller.perform_caching = true
  config.action_dispatch.x_sendfile_header = "X-Sendfile"
  config.active_support.deprecation = :notify
  config.serve_static_assets = $rubygems_config[:asset_cacher]
  config.i18n.fallbacks = true
  config.log_level = :error

  config.action_dispatch.session = {
    :domain => ".rubygems.org",
    :secure => true
  }

  # if on heroku:
  # config.action_mailer.smtp_settings = {
  # :address => "smtp.sendgrid.net",
  # :port => "25",
  # :authentication => :plain,
  # :user_name => ENV['SENDGRID_USERNAME'],
  # :password => ENV['SENDGRID_PASSWORD'],
  # :domain => ENV['SENDGRID_DOMAIN']
  # }
end

Excon.defaults[:ssl_ca_path]= "/etc/ssl/certs"

require Rails.root.join("config", "secret") if Rails.root.join("config", "secret.rb").file?
Something went wrong with that request. Please try again.