提交 34aae6d7 编写于 作者: C Carl Lerche

Remove a duplicate initializer

上级 c9d4529c
......@@ -478,18 +478,6 @@ def self.run(initializer = nil, config = nil)
plugin_loader.load_plugins
end
#
# # pick up any gems that plugins depend on
Initializer.default.add :add_gem_load_paths do
require 'rails/gem_dependency'
# TODO: This seems extraneous
Rails::GemDependency.add_frozen_gem_path
unless config.gems.empty?
require "rubygems"
config.gems.each { |gem| gem.add_load_paths }
end
end
# TODO: Figure out if this needs to run a second time
# load_gems
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册