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

fix accidently throwing of server in production mode

This commit is contained in:
Thomas Reynolds 2011-07-27 12:37:09 -07:00
parent 065eca47b6
commit 10af5caad9

View file

@ -62,7 +62,7 @@ module Guard
} }
@server_job = fork do @server_job = fork do
app = ::Middleman.server app = ::Middleman.server
app.set :environment, @options[:environment] app.set :environment, @options[:environment].to_sym
@server_options[:app] = app.new @server_options[:app] = app.new
@server_options[:server] = 'thin' @server_options[:server] = 'thin'
::Rack::Server.new(@server_options).start ::Rack::Server.new(@server_options).start