1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

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 app = ::Middleman::Application.server.inst do
if options[:environment] if options[:environment]
set :environment, options[:environment] set :environment, options[:environment].to_sym
end end
if options[:debug] if options[:debug]