Sha256: c7bb73ccbe8dbc3e27fe9fa8a8a47243d39abe22fb0cb73619937af3b51328d8

Contents?: true

Size: 312 Bytes

Versions: 1

Compression:

Stored size: 312 Bytes

Contents

RACK_ENV = ENV["RACK_ENV"] ||= "development" unless defined? RACK_ENV
ENV['DATABASE_URL'] = 'your_database_here'

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

1 entries across 1 versions & 1 rubygems

Version Path
sinatra_more-0.3.2 generators/base_app/config.ru.tt