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
On 30 May 2008, at 14:11, Scott Gose wrote:
$ 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
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 C.
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
On May 30, 2:14 pm, “Scott Gose” [email protected] 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