Many people are doing this with a task that gets called after the code
is pushed out, something like this:

  after "deploy:update_code", :fix_script_perms

  task :fix_script_perms do
    run "chmod 755 #{latest_release}/script/spin"
  end

Alternatively, if you're using subversion, you can set the
svn:executable property on script/spin and be done with it.

- Jamis

On 9/7/07, Jim Neath <[EMAIL PROTECTED]> wrote:
>
> Jamis Buck wrote:
> > Make sure script/spin has the correct permissions on it (at least
> > readable and executable) for the user that is being used to execute
> > it.
> >
> > - Jamis
>
> Hi Jamis,
>
> How could I do this with capistrano?
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to