From 10af5caad981d2fbbe8a15661a55e44893797173 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Wed, 27 Jul 2011 12:37:09 -0700 Subject: [PATCH] fix accidently throwing of server in production mode --- lib/middleman/guard.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleman/guard.rb b/lib/middleman/guard.rb index 1437e60e..5e2e9216 100644 --- a/lib/middleman/guard.rb +++ b/lib/middleman/guard.rb @@ -62,7 +62,7 @@ module Guard } @server_job = fork do app = ::Middleman.server - app.set :environment, @options[:environment] + app.set :environment, @options[:environment].to_sym @server_options[:app] = app.new @server_options[:server] = 'thin' ::Rack::Server.new(@server_options).start