Displaying 1 result from an estimated 1 matches for "development_background".
2007 Feb 12
1
-c switch in the startup command
I have been strugging with getting backgroundrb to stay in the correct
environment using multiple configuration files and the -c switch when
starting backgroundrb.
If I start brb like this:
./script/backgroundrb run RAILS_ENV=development -- -c
../config/development_background.yml
where development_background.yml specifies "development" for rails_env and
environment, the first worker created does, in fact, use the development
environment. But on the second request, the configuration details from
backgroundrb.yml are used, causing the worker to be erroneously l...