Minor Fixes
Get rid of Redefined CONSTANT warning. Make WEBrick respond to TERM signal. (Launchd, in particular, requires this.) Rollback superfluous change to rails/actionpack/lib/action_controller/base.rb. Handled by the action_cache plugin.
This commit is contained in:
parent
3b6523b4f4
commit
b0e316e37c
3 changed files with 2 additions and 9 deletions
1
vendor/rails/railties/lib/webrick_server.rb
vendored
1
vendor/rails/railties/lib/webrick_server.rb
vendored
|
@ -59,6 +59,7 @@ class DispatchServlet < WEBrick::HTTPServlet::AbstractServlet
|
|||
server.mount('/', DispatchServlet, options)
|
||||
|
||||
trap("INT") { server.shutdown }
|
||||
trap("TERM") { server.shutdown }
|
||||
|
||||
server.start
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue