Here’s a “hierarchal summary” of The Rails startup process from a paragliders perspective – artweb design.

By hierarchal, I mean its organized by how the code is executed. By summary, I mean things that I was interested in.


Rais app starts by running  environment.rb

  • boot.rb is required (require File.join(File.dirname(__FILE__), ‘boot’))
    • Defines RAILS_ROOT constant (points to Rails app location)
    • branches out to different boot mechanisms for booting up Rails from the vendor/rails directory or from the Rails gem respectively
    • Rails::Initializer #run called (sets  $LOAD_PATH to the Rails libraries and your application)

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: ,
Leave a Reply

*Type the letter/number combination in the abvoe field before clicking submit.

*