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 <clan...@googlemail.com> wrote:
> Are you remembering to restart the server by touching tmp/restart.txt?
>
> 2009/4/28 zelop...@gmail.com <zelop...@gmail.com>
>
>
>
> > I'm using passenger
>
> > On Apr 27, 1:16 pm, Freddy Andersen <fre...@cfandersen.com> 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, "zelop...@gmail.com" <zelop...@gmail.com> 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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to