git push doen't change my live application

7 views
Skip to first unread message

zelo...@gmail.com

unread,
Apr 27, 2009, 4:27:23 AM4/27/09
to Ruby on Rails: Talk
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.

Conrad Taylor

unread,
Apr 27, 2009, 5:23:13 AM4/27/09
to rubyonra...@googlegroups.com
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

zelo...@gmail.com

unread,
Apr 27, 2009, 3:40:13 PM4/27/09
to Ruby on Rails: Talk
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.

Freddy Andersen

unread,
Apr 27, 2009, 4:16:06 PM4/27/09
to Ruby on Rails: Talk
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?

Freddy Andersen

unread,
Apr 27, 2009, 4:16:47 PM4/27/09
to Ruby on Rails: Talk
BTW here is the Capistrano group http://groups.google.com/group/capistrano

zelo...@gmail.com

unread,
Apr 28, 2009, 4:50:41 AM4/28/09
to Ruby on Rails: Talk
I'm using passenger








On Apr 27, 1:16 pm, Freddy Andersen <fre...@cfandersen.com> wrote:

Colin Law

unread,
Apr 28, 2009, 8:43:27 AM4/28/09
to rubyonra...@googlegroups.com
Are you remembering to restart the server by touching tmp/restart.txt?

zelo...@gmail.com

unread,
Apr 28, 2009, 1:15:54 PM4/28/09
to Ruby on Rails: Talk
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>

Colin Law

unread,
Apr 28, 2009, 4:54:31 PM4/28/09
to rubyonra...@googlegroups.com
Can you tell from a log somewhere whether it is restarting?

BringerOfBadNews

unread,
Apr 28, 2009, 6:33:10 PM4/28/09
to Ruby on Rails: Talk
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.
Reply all
Reply to author
Forward
0 new messages