public
Description: Ze code behind the new toolmantim.com
Homepage: http://toolmantim.com/
Clone URL: git://github.com/toolmantim/toolmantim.git
toolmantim / config.ru
100644 26 lines (17 sloc) 0.523 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ENV['TZ'] = 'Australia/Sydney'
 
require 'rubygems'
 
gem 'rack', '0.9.1'
require 'rack'
 
gem 'sinatra', '0.9.0.4'
require 'sinatra'
 
gem 'teapot', '~> 1'
require 'teapot'
 
set :run => false,
    :env => :production,
    :root => File.dirname(__FILE__),
    :views => File.dirname(__FILE__) + "/views",
    :public => File.dirname(__FILE__) + "/public",
    :app_file => "toolmantim.rb"
 
require File.join(File.dirname(__FILE__), "toolmantim.rb")
 
use Teapot, "English Breakfast"
 
run Sinatra::Application