inspec/www/config.ru
Steven Danna 6e60362d56
Fixup rubocop violation in www/
- Missing encoding comments in ruby files

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-13 15:11:48 +01:00

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