derailed / rhouse

Home Automation using Ruby

rhouse / config.ru
100644 11 lines (8 sloc) 0.226 kb
1
2
3
4
5
6
7
8
9
10
11
require 'rubygems'
require 'sinatra'
 
root_dir = File.dirname( __FILE__ )
 
set :enviroment, :production
set :root , root_dir
set :app_file , File.join( root_dir, %w[bin rh_rhouse] )
disable :run
 
run Sinatra::Application