mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove unused Configurable in Rails::Engine and Rails::Application. Remove unnecessary railties load path in cli [#5871 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
parent
793967cd40
commit
8a6ac4fc26
3 changed files with 0 additions and 5 deletions
|
@ -35,7 +35,6 @@ module Rails
|
|||
#
|
||||
class Application < Engine
|
||||
autoload :Bootstrap, 'rails/application/bootstrap'
|
||||
autoload :Configurable, 'rails/application/configurable'
|
||||
autoload :Configuration, 'rails/application/configuration'
|
||||
autoload :Finisher, 'rails/application/finisher'
|
||||
autoload :Railties, 'rails/application/railties'
|
||||
|
|
|
@ -5,9 +5,6 @@ require 'rails/script_rails_loader'
|
|||
# the rest of this script is not run.
|
||||
Rails::ScriptRailsLoader.exec_script_rails!
|
||||
|
||||
railties_path = File.expand_path('../../lib', __FILE__)
|
||||
$:.unshift(railties_path) if File.directory?(railties_path) && !$:.include?(railties_path)
|
||||
|
||||
require 'rails/ruby_version_check'
|
||||
Signal.trap("INT") { puts; exit }
|
||||
|
||||
|
|
|
@ -324,7 +324,6 @@ module Rails
|
|||
# MyEngine::Engine.load_seed
|
||||
#
|
||||
class Engine < Railtie
|
||||
autoload :Configurable, "rails/engine/configurable"
|
||||
autoload :Configuration, "rails/engine/configuration"
|
||||
|
||||
class << self
|
||||
|
|
Loading…
Reference in a new issue