I'm sure you could use some sed or awk magic to do it, but neither of
those tools are my forte, so I'll defer to someone with more
experience to give you a more detailed answer.

- Jamis

On 9/7/07, Jim Neath <[EMAIL PROTECTED]> wrote:
>
> Jamis Buck wrote:
> > 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
>
> Thanks Jamis.
>
> Is there a way to change the path of ruby in the dispatch files using
> capistrano? As I need to change #!D:/ruby/bin/ruby to #!/usr/bin/ruby
> --
> 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