Ruby example of desktop flow