aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2009-09-29 17:46:33 -0700
committerCarl Lerche <carllerche@mac.com>2009-09-29 17:46:33 -0700
commit34aae6d739918d972e5273b56c767dae76aa7c00 (patch)
treef49b239e5df556baf86e07bc79d37570e9ddaff6
parentc9d4529c9da7c8c8f1ba3c2ab55fb40154a25023 (diff)
downloadrails-34aae6d739918d972e5273b56c767dae76aa7c00.tar.gz
rails-34aae6d739918d972e5273b56c767dae76aa7c00.tar.bz2
rails-34aae6d739918d972e5273b56c767dae76aa7c00.zip
Remove a duplicate initializer
-rw-r--r--railties/lib/rails/initializer.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/railties/lib/rails/initializer.rb b/railties/lib/rails/initializer.rb
index ddd0bb89a3..f75bd917bf 100644
--- a/railties/lib/rails/initializer.rb
+++ b/railties/lib/rails/initializer.rb
@@ -478,18 +478,6 @@ Run `rake gems:build` to build the unbuilt gems.
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