This project is archived and is in readonly mode.

Changeset [b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f] by Xavier Noria

June 20th, 2010 @ 11:40 PM

files in the lib directory are no longer autoloaded

Conceptually, the lib directory is closer 3rd party libraries
than to the application itself. Thus, Rails adds it to Ruby's
load path ($LOAD_PATH, $:) but it is no longer included in
dependencies' load paths.

To enable autoloading back put this in your config/application.rb

config.load_paths += %W( #{config.root}/lib ) http://github.com/rails/rails/commit/b5fe014fdcc285f3bcb8779c4f7cfb...

Committed by Xavier Noria

  • M railties/lib/rails/engine/configuration.rb
  • M railties/test/application/initializers/load_path_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>