# Can't update my live site

**URL:** <https://www.ruby-forum.com/t/cant-update-my-live-site/166712>\
**Category:** Deployment\
**Created:** [April 28, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/cant-update-my-live-site/166712 "2009-04-28T20:19:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adsouzp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@adsouzp](https://www.ruby-forum.com/u/adsouzp)\
**Post date:** [April 28, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/cant-update-my-live-site/166712/1 "2009-04-28T20:19:51Z")

</div>

So I wanted to change spelling errors and other thing on my live site so  
I changed them on my local machine but I not sure on how to over write  
though changes to dreamhost. I could do it manually though there FTP but  
always doing that would take too long. so this is what I tried:

Make changes then “git push” and “cap deploy”  
When I was finished I “cap deploy:restart” and my live website hasn’t  
changed.

So I’m asking if you know either what I did wrong or what I forgot to  
do?

I have

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

in my deploy.rb

---

<div class="post-metadata">

**Author:** ![adsouzp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/df788c/32.png) [@adsouzp](https://www.ruby-forum.com/u/adsouzp)\
**Post date:** [April 28, 2009, 9:57pm UTC](https://www.ruby-forum.com/t/cant-update-my-live-site/166712/2 "2009-04-28T21:57:30Z")

</div>

Corrected. cap deploy worked. it wasnt working for the past 2 days but  
now it works all the sudden with no change.
