From d1ae92eeb25364d3a50c8dd00c5006f2038e0b19 Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Mon, 16 Oct 2006 18:29:31 +0000 Subject: Remove extraneous expand_path; fix plugin load paths git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/initializer.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'railties/lib') diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index d004bfeca8..0275026f41 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -130,9 +130,7 @@ module Rails # Set the paths from which Rails will automatically load source files, and # the load_once paths. def set_autoload_paths - Dependencies.load_paths = configuration.load_paths.collect do |path| - File.expand_path path - end.uniq + Dependencies.load_paths = configuration.load_paths.uniq Dependencies.load_once_paths = configuration.load_once_paths.uniq extra = Dependencies.load_once_paths - Dependencies.load_paths -- cgit v1.2.3