Errbit can be config anly by ENV variable. We need a complete
documentation about it and improve this variable capabilities with not
only Heroku point of view
# Enforce SSL connections, if configured
if Errbit::Config.enforce_ssl
require 'rack/ssl-enforcer'
ActionMailer::Base.default_url_options.merge!(:protocol => 'https://')
Errbit::Application.configure do
config.middleware.use Rack::SslEnforcer, :except => /^\/deploys/
end
end