Remove extraneous expand_path; fix plugin load paths

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Nicholas Seckar 2006-10-16 18:29:31 +00:00
parent 25b5161e16
commit d1ae92eeb2

@ -130,9 +130,7 @@ def set_load_path
# 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