Actually, subversion does maintain the executable bit for files. Just
make sure to set the svn:executable property for the files you want to
be executable.
Alternatively, you can add an after hook to do the chmod:
after "deploy:finalize_update" do
run "chmod +x #{release_path}/script/spin"
end
- Jamis
On 8/4/07, Sean Schofield <[EMAIL PROTECTED]> wrote:
>
> Thanks for the info. I swear I did a search for "spin" on the site!
> I have the script written but now its saying no permission to run
> the spin script. Capistrano should be running as root but I
> think the problem is it needs to chmod +x script/spin first.
>
> I'm developing on a Windows box but server is Linux. I don't think
> SVN maintains file permissions anyways. Any suggestions?
>
> Sean
>
>
> On Aug 3, 3:51 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
> > The "spin" script is described here:
> >
> > http://www.capify.org/getting-started/rails
> >
> > (Search the page for "spin".) Basically, all it is, is a shell script
> > that contains the calls needed to start up your listeners, be they
> > fcgi or mongrel. If you're using mongrel cluster, you might put the
> > necessary mongrel cluster calls there.
> >
> > - Jamis
> >
> > On 8/3/07, Sean Schofield <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > I'm making progress with my Apache/Mongrel/Capistrano setup but I'm
> > > getting an error: Cannot run command 'script/spin'. I searched the
> > > archives and read that this was something I needed to write to start
> > > up my servers. Would someone care to elaborate on how to do this for
> > > Apache/Mongrel?
> >
> > > I currently have a deploy.rb with
> >
> > > set :mongrel_conf, "#{current_path}/config/mongrel_cluster.yml"
> >
> > > All of the examples I have found on this are hopelessly out of date.
> > > My guess is either there are a lot of frustrated Rails developers out
> > > there trying to get their apps on a production worthy setup. I think
> > > a Capistrano wiki would be nice so people could post some recipes for
> > > specific configurations.
> >
> > > Sean
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---