Hi Guys,You can start backgroundRb in different environments using -e
option.

./script/backgroundrb -e production

I like to run a rake task from my worker - something like rake
RAILS_ENV=proper_environment thinking_sphinx:start

I am not sure how to figure out the environment with which the backgroundRb
is started from inside a worker task. Any help is appreciated. Thanks for
your time.

Regards
Sarat
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

Reply via email to