konsu wrote:
> hello,
> 
> a related question: how to make this atomic to avoid race conditions:
> 
> Dir.mkdir(".timeclock") unless File.exist?(".timeclock")

There is always:

require 'fileutils'
FileUtils.mkdir_p(".timeclock")

-- 
      vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407