Sha256: 8404e9043dd072e75c9c1445189755f89570703108919ecdbd9199c3520a80f2

Contents?: true

Size: 269 Bytes

Versions: 8

Compression:

Stored size: 269 Bytes

Contents

RACK_ENV = ENV["RACK_ENV"] ||= "development" unless defined? RACK_ENV

require File.dirname(__FILE__) + '/app.rb'

FileUtils.mkdir_p 'log' unless File.exists?('log')
log = File.new("log/sinatra.log", "a")
$stdout.reopen(log)
$stderr.reopen(log)

run <%= @class_name %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sinatra_more-0.3.10 generators/base_app/config.ru.tt
sinatra_more-0.3.9 generators/base_app/config.ru.tt
sinatra_more-0.3.8 generators/base_app/config.ru.tt
sinatra_more-0.3.7 generators/base_app/config.ru.tt
sinatra_more-0.3.6 generators/base_app/config.ru.tt
sinatra_more-0.3.5 generators/base_app/config.ru.tt
sinatra_more-0.3.4 generators/base_app/config.ru.tt
sinatra_more-0.3.3 generators/base_app/config.ru.tt