use default rack handler, add a gem w/ your favorite engine if you want
This commit is contained in:
parent
df8c987a5f
commit
5d51d38977
@ -40,7 +40,7 @@ module Attentive
|
||||
# make sure pygments is ready before starting a new thread
|
||||
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 }
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user