ActionDispatch should require as little of ActiveSupport as possible
This commit is contained in:
parent
7aabaac0f5
commit
bb153f42e4
|
@ -21,9 +21,7 @@
|
|||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#++
|
||||
|
||||
activesupport_path = File.expand_path('../../../activesupport/lib', __FILE__)
|
||||
$:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.include?(activesupport_path)
|
||||
require 'active_support/ruby/shim'
|
||||
require 'active_support'
|
||||
require 'active_support/dependencies/autoload'
|
||||
|
||||
require 'rack'
|
||||
|
|
Loading…
Reference in New Issue