gberz3
2008-Jul-03 20:27 UTC
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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Roderick van Domburg
2008-Jul-04 08:30 UTC
Re: Successfully using BackgroundRB in a production environm
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 http://www.nedforce.nl -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---