I tested it in two `irb` processes, running inside the dev VM, in a folder that was mounted from my Mac by NFS. Worked a treat, with `flock` blocking until the first process closed the filehandle.