Skip to content

Instantly share code, notes, and snippets.

@jaylevitt
Created March 22, 2012 14:40
Show Gist options
  • Save jaylevitt/2158691 to your computer and use it in GitHub Desktop.
Save jaylevitt/2158691 to your computer and use it in GitHub Desktop.
# This file is used by Rack-based servers to start the application.
# Manually include newrelic first so it gets its route
require 'newrelic_rpm'
require 'new_relic/rack/developer_mode'
use NewRelic::Rack::DeveloperMode
require ::File.expand_path('../config/environment', __FILE__)
run Mindset::Application
use Airbrake::UserInformer
use ActionDispatch::Static
use Rack::Lock
use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x000001013b10a8>
use Rack::Runtime
use Rack::MethodOverride
use ActionDispatch::RequestId
use Rails::Rack::Logger
use ActionDispatch::ShowExceptions
use ActionDispatch::DebugExceptions
use ActionDispatch::RemoteIp
use ActionDispatch::Reloader
use ActionDispatch::Callbacks
use ActiveRecord::ConnectionAdapters::ConnectionManagement
use ActiveRecord::QueryCache
use ActionDispatch::Cookies
use ActiveRecord::SessionStore
use ActionDispatch::Flash
use ActionDispatch::ParamsParser
use ActionDispatch::Head
use Rack::ConditionalGet
use Rack::ETag
use ActionDispatch::BestStandardsSupport
use Warden::Manager
use Sass::Plugin::Rack
use Airbrake::Rack
use OmniAuth::Builder
run Mindset::Application.routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment