Git push doen't change my live application

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.

On Mon, Apr 27, 2009 at 1:27 AM, [email protected]
[email protected]wrote:

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

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.

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?

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

I’m using passenger

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

2009/4/28 [email protected] [email protected]

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

2009/4/28 [email protected] [email protected]

I have:

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

in my deploy.rb

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs