I have:

namespace :deploy do
  task :restart do
    run "touch #{current_path}/tmp/restart.txt"
  end
end

in my deploy.rb



On Apr 28, 5:43 am, Colin Law <[email protected]> wrote:
> Are you remembering to restart the server by touching tmp/restart.txt?
>
> 2009/4/28 [email protected] <[email protected]>
>
>
>
> > I'm using passenger
>
> > On Apr 27, 1:16 pm, Freddy Andersen <[email protected]> wrote:
> > > When you say git push? Do you mean an actual git push, or are we
> > > talking cap deploy ?
>
> > > If its cap deploy you need to make sure that your application has
> > > restarted. What application server is it that you are using? Thin,
> > > Mongrel, Apache?
>
> > > On Apr 27, 12:40 pm, "[email protected]" <[email protected]> wrote:
>
> > > > I am using dreamhost. All I i want to do is make changes on my
> > > > application and push them live. Yes I am using capistrano with git.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to