From ba6ca5b3b7d50d96bd0ee3c763e43a09f005ecfd Mon Sep 17 00:00:00 2001 From: Andrew Kvalheim Date: Wed, 10 Sep 2014 16:00:07 -0700 Subject: [PATCH] Fix bug with starting the console. --- middleman-cli/lib/middleman-cli/console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleman-cli/lib/middleman-cli/console.rb b/middleman-cli/lib/middleman-cli/console.rb index 79bf2cfe..3200cb6b 100644 --- a/middleman-cli/lib/middleman-cli/console.rb +++ b/middleman-cli/lib/middleman-cli/console.rb @@ -29,7 +29,7 @@ module Middleman::Cli debug: options['verbose'] } - @app = ::Middleman::Application.server.inst do + @app = ::Middleman::Application.new do config[:environment] = opts[:environment].to_sym if opts[:environment] ::Middleman::Logger.singleton(opts[:debug] ? 0 : 1, opts[:instrumenting] || false)