Forum: Ruby on Rails Where does rails loads paths?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A1247f73598357f06388e863c41aa624?d=identicon&s=25 Elias Orozco (elioncho)
on 2009-03-27 20:52
(Received via mailing list)
Hi guys,

I have this in my environment and was wondering the location of the
code that actually loads this directory:

config.load_paths += %W( #{RAILS_ROOT}/public/accounts/admin/lib )

I want to know the code that is used by rails to load the directories.
0bd8b10ad45ca639c1183ca0581c79ab?d=identicon&s=25 Alex (Guest)
on 2009-03-27 21:29
(Received via mailing list)
vendor/rails/railties/lib/initializer.rb

Have a look at the process method and load_application_classes


Alex
This topic is locked and can not be replied to.