search for: proper_environment

Displaying 1 result from an estimated 1 matches for "proper_environment".

2008 May 21
2
How to know the environment (development/test/production) inside a worker
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge...