Forum: Ruby on Rails git push doen't change my live application

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3e78fa13940b49bb5bb1fa76ce6a2a70?d=identicon&s=25 Aaron Day (nubytoruby)
on 2009-04-27 10:28
(Received via mailing list)
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.
40db9e75b3f5899258e3bdc0c9210154?d=identicon&s=25 Conrad Taylor (conradwt)
on 2009-04-27 11:24
(Received via mailing list)
On Mon, Apr 27, 2009 at 1:27 AM, zelopast@gmail.com
<zelopast@gmail.com>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
3e78fa13940b49bb5bb1fa76ce6a2a70?d=identicon&s=25 Aaron Day (nubytoruby)
on 2009-04-27 21:41
(Received via mailing list)
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.
4c438a80fc30661ad619ea177cf9cbd0?d=identicon&s=25 Freddy Andersen (Guest)
on 2009-04-27 22:17
(Received via mailing list)
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?
4c438a80fc30661ad619ea177cf9cbd0?d=identicon&s=25 Freddy Andersen (Guest)
on 2009-04-27 22:17
(Received via mailing list)
BTW here is the Capistrano group
http://groups.google.com/group/capistrano
3e78fa13940b49bb5bb1fa76ce6a2a70?d=identicon&s=25 Aaron Day (nubytoruby)
on 2009-04-28 10:51
(Received via mailing list)
I'm using passenger
5f94b9b346c2aa648a80bc259978e5bc?d=identicon&s=25 Colin Law (Guest)
on 2009-04-28 14:44
(Received via mailing list)
Are you remembering to restart the server by touching tmp/restart.txt?

2009/4/28 zelopast@gmail.com <zelopast@gmail.com>
3e78fa13940b49bb5bb1fa76ce6a2a70?d=identicon&s=25 Aaron Day (nubytoruby)
on 2009-04-28 19:16
(Received via mailing list)
I have:

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

in my deploy.rb
5f94b9b346c2aa648a80bc259978e5bc?d=identicon&s=25 Colin Law (Guest)
on 2009-04-28 22:55
(Received via mailing list)
Can you tell from a log somewhere whether it is restarting?

2009/4/28 zelopast@gmail.com <zelopast@gmail.com>
3e78fa13940b49bb5bb1fa76ce6a2a70?d=identicon&s=25 Aaron Day (nubytoruby)
on 2009-04-29 00:34
(Received via mailing list)
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 topic is locked and can not be replied to.