From 72ed92d7c8f46c85ffdcfbb472ff3a1770d07a4e Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 3 Nov 2009 17:49:20 +0100 Subject: creation of db directory at startup --- config.ru | 1 + 1 file changed, 1 insertion(+) diff --git a/config.ru b/config.ru index c386f81..18c0f20 100644 --- a/config.ru +++ b/config.ru @@ -5,6 +5,7 @@ require 'rack' require 'rack/contrib' FileUtils.mkdir_p 'log' unless File.exists?('log') +FileUtils.mkdir_p 'db' unless File.exists?('db') log = File.new("log/#{ENV["RACK_ENV"]}.log", "a") $stdout.reopen(log) $stderr.reopen(log) -- cgit v1.2.3