Up until a few days ago everything was fine, production was humming along in production mode without a problem, but then we did a push (using deprec) and now production won''t go back into production mode, but insists on being in development mode. We''ve tried changing the environment.rb to ENV[''RAILS_ENV''] ||= ''production'' but it still won''t work. Our last push included acts_as_ferret, and the addition of an administration system using ActiveScaffold, but no changes to the routes, or any other config file that I''m aware of. Unfortunately I''m not a Linux sys admin so I don''t know much about configuring Apache or Mongrels (we''re running Apache 2 and two Mongrels) but they were running fine in production before this push. Does anyone have any idea of how to get us back into production mode, or even a hint as to what the hell is wrong. TIA Dale --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 17 Oct 2007, at 08:34, PeteSalty wrote:> > Up until a few days ago everything was fine, production was humming > along in production mode without a problem, but then we did a push > (using deprec) and now production won''t go back into production mode, > but insists on being in development mode. > We''ve tried changing the environment.rb to > > ENV[''RAILS_ENV''] ||= ''production'' >If you''re using mongrel cluster then the mongrel_cluster.yml file can set the environment. Have you checked that? Fred> but it still won''t work. > > Our last push included acts_as_ferret, and the addition of an > administration system using ActiveScaffold, but no changes to the > routes, or any other config file that I''m aware of. > > Unfortunately I''m not a Linux sys admin so I don''t know much about > configuring Apache or Mongrels (we''re running Apache 2 and two > Mongrels) but they were running fine in production before this push. > > Does anyone have any idea of how to get us back into production mode, > or even a hint as to what the hell is wrong. > > TIA > Dale > > > --~--~---------~--~----~------------~-------~--~----~ > 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 > -~----------~----~----~----~------~----~------~--~--- >
On Oct 17, 12:34 pm, PeteSalty <petesa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Up until a few days ago everything was fine, production was humming > along in production mode without a problem, but then we did a push > (using deprec) and now production won''t go back into production mode, > but insists on being in development mode. > We''ve tried changing the environment.rb to > > ENV[''RAILS_ENV''] ||= ''production'' > > but it still won''t work. > > Our last push included acts_as_ferret, and the addition of an > administration system using ActiveScaffold, but no changes to the > routes, or any other config file that I''m aware of. > > Unfortunately I''m not a Linux sys admin so I don''t know much about > configuring Apache or Mongrels (we''re running Apache 2 and two > Mongrels) but they were running fine in production before this push. > > Does anyone have any idea of how to get us back into production mode, > or even a hint as to what the hell is wrong.Check your mongrel cluster file. The mode might be set as development in it. -- Procrastinx --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks for the suggestions, turns out that for some reason the mongrel clusters weren''t starting correctly (no idea why) but easily fixed. On Oct 17, 1:25 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 17 Oct 2007, at 08:34, PeteSalty wrote: > > > > > Up until a few days ago everything was fine, production was humming > > along in production mode without a problem, but then we did a push > > (using deprec) and now production won''t go back into production mode, > > but insists on being in development mode. > > We''ve tried changing the environment.rb to > > > ENV[''RAILS_ENV''] ||= ''production'' > > If you''re using mongrel cluster then the mongrel_cluster.yml file can > set the environment. Have you checked that? > > Fred > > > but it still won''t work. > > > Our last push included acts_as_ferret, and the addition of an > > administration system using ActiveScaffold, but no changes to the > > routes, or any other config file that I''m aware of. > > > Unfortunately I''m not a Linux sys admin so I don''t know much about > > configuring Apache or Mongrels (we''re running Apache 2 and two > > Mongrels) but they were running fine in production before this push. > > > Does anyone have any idea of how to get us back into production mode, > > or even a hint as to what the hell is wrong. > > > TIA > > Dale > > > > > > > smime.p7s > 3KDownload--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---