Where does rails loads paths?

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.

vendor/rails/railties/lib/initializer.rb

Have a look at the process method and load_application_classes

Alex

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs