Displaying 2 results from an estimated 2 matches for "kocolu".
Did you mean:
kobold
2007 Feb 06
8
setting enviroment variable
I have a ror project which has been productized. There are several web
sites in one ror project
I need to set an "enviroment variable" to run different sites, can I do
that using mongrel? I tried to use mongrel''s -S option and set the
enviroment variable in that file but it seems mongrel runs that file
after it calls enviroment.rb
I also used apache''s
2007 Apr 24
2
Passing environment to mongrel apps
Hi guys,
I''m looking for a way to pass environment variables to my Rails app
via Mongrel. I want to conditionally execute code in environment.rb
based on these environment variables.
Background:
1. I have some special stuff I want to do when my Rails app first starts
2. So, stuff it in environment.rb in after_initialize, right?
3. Not this time. I have several other background