Ensure that only one instance of a Ruby script will be run at a time.