As noted on a previous thread, update code has a timezone problem. You
take UTC from the command station, but unfortunately 'touch' uses local
time by default. No good if your servers span timezones.

Simple fix though - change:

run "find #{asset_paths.join(" ")} -exec touch -t #{stamp} {} \\;;
true"

to

run "TZ=UTC find #{asset_paths.join(" ")} -exec touch -t #{stamp} {}
\\;; true"

Now touch stamps the file at UTC correctly. 

NeilW


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to