Preview server must set environment as a symbol. Fixes #445

This commit is contained in:
Thomas Reynolds 2012-05-24 10:34:46 -07:00
parent 220bb5edb2
commit b202e71348

View file

@ -15,7 +15,7 @@ module Middleman
app = ::Middleman::Application.server.inst do
if options[:environment]
set :environment, options[:environment]
set :environment, options[:environment].to_sym
end
if options[:debug]