Retrying with embedded ruby