Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 446 Bytes
$: << 'lib'
require 'rubygems'
require 'bundler'
Bundler.require
require 'giddyup'
require 'rack/static'
require 'rack-rewrite'
require 'rake-pipeline'
require 'rake-pipeline/middleware'
use Rack::Rewrite do
rewrite %r{^(.*)\/$}, '$1/index.html'
end
use Rake::Pipeline::Middleware, "Assetfile"
use Rack::Static, :urls => ["/index.html", "/favicon.ico", "/css", "/javascripts", "/images"], :root => "public"
run GiddyUp::Application.adapter
Jump to Line
Something went wrong with that request. Please try again.