Sha256: a1ffa69687f9d76ae974b814760dca4b5c5cb61426ab650a1eb3af96f77211a7

Contents?: true

Size: 232 Bytes

Versions: 7

Compression:

Stored size: 232 Bytes

Contents

require "rubygems"
require "app"

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

# run the server
run <%= name.camelize %>::App

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
openhood-sinatra_app_gen-0.0.1 lib/generators/sinatra_app/templates/config.ru.erb
openhood-sinatra_app_gen-0.1.0 lib/generators/sinatra_app/templates/config.ru.erb
openhood-sinatra_app_gen-0.1.1 lib/generators/sinatra_app/templates/config.ru.erb
openhood-sinatra_app_gen-0.1.2 lib/generators/sinatra_app/templates/config.ru.erb
openhood-sinatra_app_gen-0.1.3 lib/generators/sinatra_app/templates/config.ru.erb
openhood-sinatra_app_gen-0.1.4 lib/generators/sinatra_app/templates/config.ru.erb
openhood-sinatra_app_gen-0.1.5 lib/generators/sinatra_app/templates/config.ru.erb