I found there are some Ruby programs are running in this development
machines. Now I need to add some functionality into the Ruby program,
but I don’t know where to look into its starting program or its main
body of the program.
in aparche/httpd.conf file:
SSL Virtual Host Context
FastCgiServer /www/apps/scripts/public/dispatch.fcgi -idle-timeout 90
-initial-env RAILS_ENV=production -processes 10
Here is the dispatch.fcgi script:
require File.dirname(FILE) + “/…/config/environment”
I got stuck. I don’t know how does this dispatch.fcgi program invoke
which ruby main program…
Can anyone please shed some light on me?