diff options
author | Matt Jones <al2o3cr@gmail.com> | 2008-11-17 14:03:46 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-11-18 14:32:46 +0100 |
commit | 45ba4ec626b79dda8534f13b3eb01524e0734781 (patch) | |
tree | 84bccc98fa97cb7bfb5244bbd1c0890315b99d32 /railties/lib | |
parent | 12118963acacc9c869bdd41ef8480a1a4e06d358 (diff) | |
download | rails-45ba4ec626b79dda8534f13b3eb01524e0734781.tar.gz rails-45ba4ec626b79dda8534f13b3eb01524e0734781.tar.bz2 rails-45ba4ec626b79dda8534f13b3eb01524e0734781.zip |
add vendor/ back to load paths; catch errors in constant loading
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/initializer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb index 3e97a17e0e..16abe62d1b 100644 --- a/railties/lib/initializer.rb +++ b/railties/lib/initializer.rb @@ -901,6 +901,7 @@ Run `rake gems:install` to install the missing gems. components config lib + vendor ).map { |dir| "#{root_path}/#{dir}" }.select { |dir| File.directory?(dir) } paths.concat builtin_directories |