On Wed, Jan 7, 2009 at 6:07 PM, Jason F <[email protected]> wrote: > Then I run one worker: > > [jfrankov...@irvsrddev6 rails_app]$ ./vendor/plugins/async_observer/ > bin/worker > #!load-rails!begin!2009-01-08T01:51:56.127115Z > RAILS_ROOT="/home/jfrankovitz/git/rails_app" > #!load-rails!end!2009-01-08T01:52:00.683801Z
Make sure your worker is running in the same environment as your producer. It needs to read the rails configuration to connect to beanstalk and the database. You probably want something like $ RAILS_ENV=version_2 ./vendor/plugins/async_observer/ bin/worker Let us know if that helps. kr --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en -~----------~----~----~----~------~----~------~--~---
