Preview server must set environment as a symbol. Fixes #445
This commit is contained in:
parent
220bb5edb2
commit
b202e71348
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue