I have no log in production mode with ruby script/daemons start. How can I make it work? -- 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 -~----------~----~----~----~------~----~------~--~---
John Smith wrote:> I have no log in production mode with ruby script/daemons start. How can > I make it work?Have someone any idea. I always have the daemon log in my development.log, not in my production.log. -- 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 -~----------~----~----~----~------~----~------~--~---
John Smith wrote:> John Smith wrote: >> I have no log in production mode with ruby script/daemons start. How can >> I make it work? > > Have someone any idea. I always have the daemon log in my > development.log, not in my production.log.Also, I am using Mongrel -- 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-May-12 07:10 UTC
Re: Help with ruby script/daemons start in production
On 12 May 2008, at 08:07, John Smith wrote:> > John Smith wrote: >> John Smith wrote: >>> I have no log in production mode with ruby script/daemons start. >>> How can >>> I make it work? >> >> Have someone any idea. I always have the daemon log in my >> development.log, not in my production.log. >WHat are these daemons and how are you starting them? It could be as simple as setting the RAILS_ENV environment variable (since that is one of the ways in which rails decides which environment to use). Fred> Also, I am using Mongrel > -- > 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 12 May 2008, at 08:07, John Smith wrote: > >> >> John Smith wrote: >>> John Smith wrote: >>>> I have no log in production mode with ruby script/daemons start. >>>> How can >>>> I make it work? >>> >>> Have someone any idea. I always have the daemon log in my >>> development.log, not in my production.log. >> > WHat are these daemons and how are you starting them? It could be as > simple as setting the RAILS_ENV environment variable (since that is > one of the ways in which rails decides which environment to use). > > FredI am getting that jobs table doesn''t exist in mybd_development in development.log. I am using Backgrounfu. Certainly, I need a jobs table, and I have one in production, and I want to use it. I am using: RAILS_ENV=production ruby script/daemons start -- 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-May-12 11:13 UTC
Re: Help with ruby script/daemons start in production
On 12 May 2008, at 12:08, John Smith wrote:> > Frederick Cheung wrote: >> On 12 May 2008, at 08:07, John Smith wrote: >> >>> >>> John Smith wrote: >>>> John Smith wrote: >>>>> I have no log in production mode with ruby script/daemons start. >>>>> How can >>>>> I make it work? >>>> >>>> Have someone any idea. I always have the daemon log in my >>>> development.log, not in my production.log. >>> >> WHat are these daemons and how are you starting them? It could be as >> simple as setting the RAILS_ENV environment variable (since that is >> one of the ways in which rails decides which environment to use). >> >> Fred > > > I am getting that jobs table doesn''t exist in mybd_development in > development.log. I am using Backgrounfu. Certainly, I need a jobs > table, > and I have one in production, and I want to use it. I am using: > RAILS_ENV=production ruby script/daemons startDo you need export RAILS_ENV=production ? Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---