Help with ruby script/daemons start in production

I have no log in production mode with ruby script/daemons start. How can I make it work?

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.

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

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

Frederick Cheung wrote:

Do you need export RAILS_ENV=production ?

Fred