The script/spin script is one that you need to write. It ought to fire up your fcgi's or mongrels or whatever you are using. Typically, it contains a simple call to script/process/spawner with the appropriate arguments.

Note that if you're using fastcgi where the fcgi processes are managed by apache or lighttpd directly, you don't need to use script/ spin. Your deployment process will be different, though, so you'll need to customize the cold-deploy task. Possibly restart as well, depending on your hosting environment.

- Jamis

On Oct 29, 2006, at 2:44 PM, willismorse wrote:


I just started working with Capistrano to deploy to my Dreamhost-based
site, which uses FastCGI.

I'm having a problem when I run the cold_deploy task. It fails like
this:


* executing task spinner
* executing "mydomain.com/current/script/spin"
    servers: ["mydomain.com"]
    [mydomain.com] executing command
** [out :: mydomain.com] bash: line 1:
mydomain.com/current/script/spin: No such file or directory

The "spin" script doesn't seem to exist in any Rails app I've
generated.

In browsing through the Rails svn repository, it looks like there used
to be a script called "process/spinner.rb", but it was removed last
June or so.


I've seen a few mentions of this problem recently on the web, so maybe
it's a new problem?


Thanks,
Willis Morse


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to