This rake task runs in the root directory, so I had to specify the path to rails root in the rake libdir option to get this to work
w.start = "rake -f #{rails_root}/Rakefile -I #{rails_root} RAILS_ENV=production jobs:work"
prefixing the start command with "cd #{rails_root} && rake..." will not work because this command appears to create two processes causing god to monitor the first process (which is caused by the cd command?) and not the rake command. Using this approach will continually add a new rake process every time god is restarted (you'll want to "sudo god restart dj" on every deploy).
This may be obvious, but a good way to debug this is to just run this rake task (as your app user) directly on the server to make sure the rake task isn't failing.
I've been the girl with her skirt pulled high
Been the outcast never running with mascara eyes
Now I see the world as a candy store wireless internet providers
With a cigarette smile, saying things you can't ignore
Like Mommy I love you
Daddy I hate you
Brother I need you
Lover, hey "fuck you"
I can see everything here with my third eye
Like the blue in the sky
Life is a dance floor
Love is the rhythm
You are the music
If God is a DJ internet access
Life is a dance floor
You get what you're given
It's all how you use it
I've been the girl- middle finger in the air
Unaffected by rumors, the truth: I don't care
So open your mouth and stick out your tongue
You might as well let go, you can't take back what you've done
So find a new lifestyle
A new reason to smile
Look for Nirvana
Under the strobe lights
Sequins and sex dreams
You whisper to me
There's no reason to cry
If God is a DJ backup
Life is a dance floor
Love is the rhythm
You are the music
If God is a DJ
Life is a dance floor
You get what you're given
It's all how you use it
There is evidence all over the country regarding ACORN's illegal activity - remember them? The crooks who forged voter registration then claimed that everything was "cool" because nobody could proove that false registered voters actually voted. bedside cabinet computer degree - doctoral degree - online masters degree - online associate degree - Must High School
Quick Q regarding this… does delayed_job ever go out of the ‘init’ phase (god status etc wise)?
Apparently the rake task ain’t daemonized or anything and here it never reaches the ‘up’ state…
This rake task runs in the root directory, so I had to specify the path to rails root in the rake libdir option to get this to work
w.start = "rake -f #{rails_root}/Rakefile -I #{rails_root} RAILS_ENV=production jobs:work"
prefixing the start command with "cd #{rails_root} && rake..." will not work because this command appears to create two processes causing god to monitor the first process (which is caused by the cd command?) and not the rake command. Using this approach will continually add a new rake process every time god is restarted (you'll want to "sudo god restart dj" on every deploy).
This may be obvious, but a good way to debug this is to just run this rake task (as your app user) directly on the server to make sure the rake task isn't failing.
Sorry for my ignorance, but why do you need 20 watches for the same processes (20.times do...)??. I really don`t get it.
@sandrods That is for 20 separate worker instances
I've been the girl with her skirt pulled high
Been the outcast never running with mascara eyes
Now I see the world as a candy store wireless internet providers
With a cigarette smile, saying things you can't ignore
Like Mommy I love you
Daddy I hate you
Brother I need you
Lover, hey "fuck you"
I can see everything here with my third eye
Like the blue in the sky
Life is a dance floor
Love is the rhythm
You are the music
If God is a DJ internet access
Life is a dance floor
You get what you're given
It's all how you use it
I've been the girl- middle finger in the air
Unaffected by rumors, the truth: I don't care
So open your mouth and stick out your tongue
You might as well let go, you can't take back what you've done
So find a new lifestyle
A new reason to smile
Look for Nirvana
Under the strobe lights
Sequins and sex dreams
You whisper to me
There's no reason to cry
If God is a DJ backup
Life is a dance floor
Love is the rhythm
You are the music
If God is a DJ
Life is a dance floor
You get what you're given
It's all how you use it
Great post I like it thanks for sharing
free online games
regards,
There is evidence all over the country regarding ACORN's illegal activity - remember them? The crooks who forged voter registration then claimed that everything was "cool" because nobody could proove that false registered voters actually voted. bedside cabinet computer degree - doctoral degree - online masters degree - online associate degree - Must High School
Thanks for this share, it really useful.
USB Retro Fan | Steve Phillips Fired | Gifts For Mom
Great job guys, please keep it up. Regards, free games
Some useful piece of info thanks!
logo design
HEEL LIFT
HEIGHT INCREASE INSOLES
HEEL LIFTS
HEEL PADS
HEEL PADS
ADJUSTABLE HEEL LIFTS
A HEEL LIFT
NIPPLE COVERS
SHOES INSOLES
SHOE INSOLES
BRAS
NIPPLE COVERS
NIPPLE PASTIES
SOLE PROTECTORS
ARCH SUPPORTS
SHOE STRAPS
HEEL GRIPS