diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2006-10-16 18:29:31 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2006-10-16 18:29:31 +0000 |
commit | d1ae92eeb25364d3a50c8dd00c5006f2038e0b19 (patch) | |
tree | ad39f0219f9a21887fc71734c80d6b41a2a584db /railties | |
parent | 25b5161e16dc67a8c3d4cce2937a81f19fd37ca6 (diff) | |
download | rails-d1ae92eeb25364d3a50c8dd00c5006f2038e0b19.tar.gz rails-d1ae92eeb25364d3a50c8dd00c5006f2038e0b19.tar.bz2 rails-d1ae92eeb25364d3a50c8dd00c5006f2038e0b19.zip |
Remove extraneous expand_path; fix plugin load paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/initializer.rb | 4 |
1 files changed, 1 insertions, 3 deletions
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 |