diff options
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 |