Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4de295009d
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.495 kb
if ENV['MAINTENANCE_MODE']
require "#{File.dirname(__FILE__)}/vendor/bundler_gems/environment"
require 'config/environment'
use Rack::Static, :urls => ["/index.html", "/favicon.ico", "/images", "/stylesheets"], :root => "public/maintenance"
use Hostess
use Rack::Maintenance, :file => File.join('public', 'maintenance', 'index.html')
run Sinatra::Application
else
require 'thin'
require 'rack/adapter/rails'
run Rack::Adapter::Rails.new(:environment => ENV['RAILS_ENV'])
end
Jump to Line
Something went wrong with that request. Please try again.