cap db task gem