Note that the default deploy:start task looks for a script/spin script
to run. If you are using a deployment method that doesn't need script/
spin, then you'll need to override deploy:start:
deploy.task :start do
# nothing
end
- Jamis
On Jul 6, 2008, at 8:52 PM, Andy wrote:
>
> Hello. I am not able to deploy because it keeps failing on the
> deploy:start task. I had an app deployed on a slicehost slice with
> Apache + Mongrels. Following the slicehost article, I created an
> executable script/spin file and put two mongrel instances in there and
> port numbers etc.
>
>
> Now I'm trying to deploy to Phusion Passenger which is installed and
> configured on my server. However it always fails with this outpu:
>
> * executing `deploy:start'
> * executing "sudo -p 'sudo password: ' -u admin sh -c 'cd /home/
> admin/public_html/test.systm.info/public/current && nohup script/
> spin'"
> servers: ["test.systm.info"]
> [test.systm.info] executing command
> ** [out :: test.systm.info] nohup: appending output to `nohup.out'
> ** [out :: test.systm.info] nohup: cannot run command `script/spin':
> No such file or directory
> command finished
> command "sudo -p 'sudo password: ' -u admin sh -c 'cd /home/admin/
> public_html/test.systm.info/public/current && nohup script/spin'"
> failed on test.systm.info
>
> (1) why is deploy:start running and trying to run script/spin? I
> wouldn't even know what this meant except that I'd configured that
> file on the previous non-passenger deployment---I don't see how
> separate deployments would "know" about each other?
>
> (2) is there a way I can fix this? I will destroy my slice and rebuilt
> it but I'm hoping to learn why this task is running and how to fix
> it. thanks in advance!
>
>
> My deployment recipe
> ----
> http://pastie.org/228779
>
> >
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---