Here's how to touch a file using Ruby, easy as 1-2-3:

File.utime(access_time, mod_time, filename)
comments powered by Disqus