Sha256: 3c2753de587c39592fd95eb1f4f68d63313df5d79a41a06291e5cf5b2333b259
Contents?: true
Size: 277 Bytes
Versions: 34
Compression:
Stored size: 277 Bytes
Contents
RACK_ENV = ENV["RACK_ENV"] ||= "development" unless defined? RACK_ENV require File.dirname(__FILE__) + '/config/boot.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
34 entries across 34 versions & 2 rubygems