use default rack handler, add a gem w/ your favorite engine if you want

This commit is contained in:
John Bintz 2012-03-23 08:41:51 -04:00
parent df8c987a5f
commit 5d51d38977
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ module Attentive
# make sure pygments is ready before starting a new thread # make sure pygments is ready before starting a new thread
Pygments.highlight("attentive") Pygments.highlight("attentive")
Rack::Handler::WEBrick.run(Attentive::Server, :Port => options[:port]) do |server| Rack::Handler.default.run(Attentive::Server, :Port => options[:port]) do |server|
trap(:INT) { server.shutdown } trap(:INT) { server.shutdown }
end end
end end