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 S. 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 S. wrote:

John S. 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

On 12 May 2008, at 08:07, John S. wrote:

John S. wrote:

John S. 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 C. wrote:

On 12 May 2008, at 08:07, John S. wrote:

John S. wrote:

John S. 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 start

On 12 May 2008, at 12:08, John S. wrote:

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 start

Do you need
export RAILS_ENV=production
?

Fred