Bug #665 ยป 0001-Fixes-bug-665-Set-option-bind-or-host-depending-on-S.patch
lib/sinatra-patch.rb | ||
---|---|---|
set options
|
||
handler = detect_rack_handler
|
||
handler_name = handler.name.gsub(/.*::/, '')
|
||
# Hack to cope with renamed options in Sinatra 1.0.a
|
||
bind = host if VERSION == '1.0.a'
|
||
puts "Starting Foreman Proxy on #{port} using #{handler_name}" unless handler_name =~/cgi/i
|
||
if SETTINGS.daemon
|