Git push doen't change my live application


#1

Every time I make changes and push, my app doesn’t change. I use
dreamhost and when I push the changes it make a folder with the app
call releases/20090424185029 but it always shows the app of an older
date? How do I make it so the the push’s affect the live app?

Sorry if this isn’t really rails related.


#2

On Mon, Apr 27, 2009 at 1:27 AM, removed_email_address@domain.invalid
removed_email_address@domain.invalidwrote:

Every time I make changes and push, my app doesn’t change. I use
dreamhost and when I push the changes it make a folder with the app
call releases/20090424185029 but it always shows the app of an older
date? How do I make it so the the push’s affect the live app?

Sorry if this isn’t really rails related.

What web server are you using? Also, I’m guessing that you’re using
Capistrano with Git. Is this correct? Please feel free to add any
additional
details.

-Conrad


#3

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.


#4

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?


#5

BTW here is the Capistrano group
http://groups.google.com/group/capistrano


#6

I’m using passenger


#7

Are you remembering to restart the server by touching tmp/restart.txt?

2009/4/28 removed_email_address@domain.invalid removed_email_address@domain.invalid


#8

Can you tell from a log somewhere whether it is restarting?

2009/4/28 removed_email_address@domain.invalid removed_email_address@domain.invalid


#9

I have:

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

in my deploy.rb


#10

It was at the bottom of everything. I’m not sure why cap deploy wasn’t
working but now it runs fine. Thanks for responding though.