Skip to content

Commit

Permalink
Fix for Dreamhost reload
Browse files Browse the repository at this point in the history
  • Loading branch information
iruby committed Feb 4, 2009
1 parent 926e907 commit 6fa5936
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions config.ru
@@ -1,5 +1,9 @@
require 'rubygems'
require 'sinatra'
begin
require 'sinatra'
rescue
require 'sinatra'
end

set :env, :production
disable :run
Expand All @@ -10,4 +14,4 @@ STDERR.reopen(log)

require 'app'

run Sinatra.application
run Sinatra.application

0 comments on commit 6fa5936

Please sign in to comment.