diff options
author | José Valim <jose.valim@gmail.com> | 2010-08-04 14:13:50 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-08-04 14:13:50 +0200 |
commit | 7e2399a42feb47407ad0cb0688815812f68804de (patch) | |
tree | e275a93cd7ce6d43f104d6a62f8b7ac8f92b828b /railties/lib | |
parent | c25c3879ce27f5e834defd71409ea3cb2378aac6 (diff) | |
download | rails-7e2399a42feb47407ad0cb0688815812f68804de.tar.gz rails-7e2399a42feb47407ad0cb0688815812f68804de.tar.bz2 rails-7e2399a42feb47407ad0cb0688815812f68804de.zip |
Revert "Put lib back on the autoload path"
This was causing engines/gems to eager load everything in lib. Another fix is comming soon.
This reverts commit 02a5842cd09bd75de4c2fdb6b474c6c0ff163ebf.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/engine/configuration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/engine/configuration.rb b/railties/lib/rails/engine/configuration.rb index db0b20df33..521ed95447 100644 --- a/railties/lib/rails/engine/configuration.rb +++ b/railties/lib/rails/engine/configuration.rb @@ -20,7 +20,7 @@ module Rails paths.app.models "app/models", :eager_load => true paths.app.mailers "app/mailers", :eager_load => true paths.app.views "app/views" - paths.lib "lib", :eager_load => true + paths.lib "lib", :load_path => true paths.lib.tasks "lib/tasks", :glob => "**/*.rake" paths.config "config" paths.config.initializers "config/initializers", :glob => "**/*.rb" |