Use bundled Rack
WEBrick in Rack doesn't respond to TERM signals. This is a problem (especially on MacOSX). Make sure we use our bundled version instead.
This commit is contained in:
parent
4e14ccc74d
commit
b30002261a
|
@ -7,7 +7,7 @@ rexml_versions = ['', File.dirname(__FILE__) + '/../vendor/plugins/rexml/lib/'].
|
|||
`ruby -r #{v + 'rexml/rexml'} -e 'p REXML::VERSION'`.split('.').collect {|n| n.to_i} }
|
||||
$:.unshift(File.dirname(__FILE__) + '/../vendor/plugins/rexml/lib') if (rexml_versions[0] <=> rexml_versions[1]) == -1
|
||||
|
||||
$: << File.dirname(__FILE__) + '/../vendor/plugins/rack/lib'
|
||||
$:.unshift(File.dirname(__FILE__) + '/../vendor/plugins/rack/lib')
|
||||
require File.join(File.dirname(__FILE__), 'boot')
|
||||
|
||||
require 'active_support/secure_random'
|
||||
|
|
Loading…
Reference in a new issue