Permalink
Browse files

add rackup

  • Loading branch information...
1 parent 9ae92b6 commit 4e29dd2366a671b968652ef1e30657f2ceff95a4 @keithnorm committed Aug 4, 2010
Showing with 14 additions and 0 deletions.
  1. +14 −0 config.ru
View
@@ -0,0 +1,14 @@
+# This file goes in domain.com/config.ru
+require 'sinatra'
+require 'rubygems'
+
+Sinatra::Application.set :env, :production
+Sinatra::Application.set :raise_errors, true
+
+log = File.new("sinatra.log", "a+")
+STDOUT.reopen(log)
+STDERR.reopen(log)
+
+
+require 'rubex.rb'
+run Sinatra::Application

0 comments on commit 4e29dd2

Please sign in to comment.