Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 312 Bytes
require 'rubygems'
require 'bundler'
require 'date'
require 'time'
Bundler.require
if ENV['MODE'] == "dev"
require "sinatra/reloader"
else
FileUtils.mkdir_p 'log' unless File.exists?('log')
log = File.new("log/sinatra.log", "a")
$stdout.reopen(log)
$stderr.reopen(log)
end
require './surf'
run Surf
Something went wrong with that request. Please try again.