wip: use ruby interface to complete snippet paths