mirror of
https://github.com/inspec/inspec
synced 2024-12-18 09:03:12 +00:00
6e60362d56
- Missing encoding comments in ruby files Signed-off-by: Steven Danna <steve@chef.io>
14 lines
344 B
Ruby
14 lines
344 B
Ruby
# encoding: utf-8
|
|
require 'middleman-core/load_paths'
|
|
::Middleman.setup_load_paths
|
|
|
|
require 'middleman-core'
|
|
require 'middleman-core/rack'
|
|
|
|
require 'fileutils'
|
|
FileUtils.mkdir('log') unless File.exist?('log')
|
|
::Middleman::Logger.singleton("log/#{ENV['RACK_ENV']}.log")
|
|
|
|
app = ::Middleman::Application.new
|
|
|
|
run ::Middleman::Rack.new(app).to_app
|