mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add active_support/ruby/shim to the default requirements for AP components
This commit is contained in:
parent
2419fae092
commit
8b4735fbd9
4 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
activesupport_path = File.expand_path('../../../activesupport/lib', __FILE__)
|
||||
$:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.include?(activesupport_path)
|
||||
|
||||
require 'active_support'
|
||||
require 'active_support/ruby/shim'
|
||||
require 'active_support/core_ext/module/attr_internal'
|
||||
require 'active_support/core_ext/module/delegation'
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
activesupport_path = File.expand_path('../../../activesupport/lib', __FILE__)
|
||||
$:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.include?(activesupport_path)
|
||||
require 'active_support'
|
||||
require 'active_support/ruby/shim'
|
||||
|
||||
module ActionController
|
||||
extend ActiveSupport::Autoload
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
activesupport_path = File.expand_path('../../../activesupport/lib', __FILE__)
|
||||
$:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.include?(activesupport_path)
|
||||
require 'active_support'
|
||||
require 'active_support/ruby/shim'
|
||||
|
||||
require 'rack'
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
activesupport_path = File.expand_path('../../../activesupport/lib', __FILE__)
|
||||
$:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.include?(activesupport_path)
|
||||
require 'active_support'
|
||||
require 'active_support/ruby/shim'
|
||||
require 'active_support/core_ext/class/attribute_accessors'
|
||||
|
||||
require 'action_pack'
|
||||
|
|
Loading…
Reference in a new issue