Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 496 Bytes
require 'rubygems'
root_dir = File.dirname(__FILE__)
require File.join(root_dir, "lib", "chainsaw")
Chainsaw::WebApp.class_eval do
set :environment, (ENV["RACK_ENV"] || :production).to_sym
set :root, root_dir
set :app_file, File.join(root_dir, "lib", "chainsaw", "web_app.rb")
disable :run
log_dir = File.join(root_dir, "log")
log =, "web-app.log"), "a")
run Chainsaw::WebApp
Jump to Line
Something went wrong with that request. Please try again.