When I''m developing a Rails app, I start the WEBrick server in one terminal: $ ./script/server Then I tail -f the development.log in another terminal window: $ tail -f log/development.log Is there a way to get what''s in the development.log to output to WEBrick''s console? Thanks, -scott --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Is there a way to get what''s in the development.log to output to WEBrick''s console? When I''m developing a Rails app, I start the WEBrick server in one terminal: $ ./script/server Then I tail -f the development.log in another terminal window: $ tail -f log/development.log Is there a way to consolidate that? Thanks, -scott --~--~---------~--~----~------------~-------~--~----~ 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 30 May 2008, at 14:11, Scott Gose wrote:> > Is there a way to get what''s in the development.log to output to > WEBrick''s console? > > When I''m developing a Rails app, I start the WEBrick server in one > terminal: > > $ ./script/server > > Then I tail -f the development.log in another terminal window: > > $ tail -f log/development.log > > Is there a way to consolidate that?Not really an answer to your question, but if you install mongrel then script/server will output what it logs to development.log 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 -~----------~----~----~----~------~----~------~--~---
I have the mongrel gem installed. Doesn''t script/server use that if it finds it? Or do I have to call mongrel explicitly. Thanks, On Fri, May 30, 2008 at 8:12 AM, Frederick Cheung <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On 30 May 2008, at 14:11, Scott Gose wrote: > >> >> Is there a way to get what''s in the development.log to output to >> WEBrick''s console? >> >> When I''m developing a Rails app, I start the WEBrick server in one >> terminal: >> >> $ ./script/server >> >> Then I tail -f the development.log in another terminal window: >> >> $ tail -f log/development.log >> >> Is there a way to consolidate that? > > > Not really an answer to your question, but if you install mongrel then > script/server will output what it logs to development.log > > 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 -~----------~----~----~----~------~----~------~--~---
On May 30, 2:14 pm, "Scott Gose" <scott.g...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have the mongrel gem installed. Doesn''t script/server use that if > it finds it? > > Or do I have to call mongrel explicitly. >It should use it automatically if available. Certainly does for me. Fred> Thanks, > > On Fri, May 30, 2008 at 8:12 AM, Frederick Cheung > > <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On 30 May 2008, at 14:11, Scott Gose wrote: > > >> Is there a way to get what''s in the development.log to output to > >> WEBrick''s console? > > >> When I''m developing a Rails app, I start the WEBrick server in one > >> terminal: > > >> $ ./script/server > > >> Then I tail -f the development.log in another terminal window: > > >> $ tail -f log/development.log > > >> Is there a way to consolidate that? > > > Not really an answer to your question, but if you install mongrel then > > script/server will output what it logs to development.log > > > 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Scott, Scott Gose wrote:> I have the mongrel gem installed. Doesn''t script/server > use that if it finds it? > > Or do I have to call mongrel explicitly.It depends on what version of Rails you''re running. Try "mongrel_rails start". HTH, Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---