Successfully using BackgroundRB in a production environment...?

Hi All,

I’m having some severe trouble getting BackgroundRB to run against
production. I can configure it to run against development all day
long, but the second I disable all the development items and move to
production, backgroundRB throws a fit telling me that it can’t connect
to the development database, etc.

I have set the ‘environment’ variable to production. I have also
tried setting it via the command line explicitly. Nothing works.

Any thoughts?

Best Regards.

Hi Michael,

I’m having some severe trouble getting BackgroundRB to run against
production. I can configure it to run against development all day
long, but the second I disable all the development items and move to
production, backgroundRB throws a fit telling me that it can’t connect
to the development database, etc.

I have set the ‘environment’ variable to production. I have also
tried setting it via the command line explicitly. Nothing works.

We successfully run BackgrounDRb in production on a multitude of sites.
You’ll want to issue “script/backgroundrb {start|stop} -e production”.
Then in config/backgroundrb.yml have an entry like so:

:production:
:backgroundrb:
:environment: production


Roderick van Domburg