# Deploy issues

**URL:** <https://www.ruby-forum.com/t/deploy-issues/183537>\
**Category:** Ruby\
**Created:** [February 16, 2010, 9:16am UTC](https://www.ruby-forum.com/t/deploy-issues/183537 "2010-02-16T09:16:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bertly\_the\_coder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/b38774/32.png) [@bertly\_the\_coder](https://www.ruby-forum.com/u/bertly_the_coder)\
**Post date:** [February 16, 2010, 9:16am UTC](https://www.ruby-forum.com/t/deploy-issues/183537/1 "2010-02-16T09:16:03Z")

</div>

Hey guys, does anyone know what causes the “don’t know how to build  
task db:migrate” error, and how to fix it? I am trying to deploy a  
Sinatra app.

Thx.

---

<div class="post-metadata">

**Author:** ![bertly\_the\_coder](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/b38774/32.png) [@bertly\_the\_coder](https://www.ruby-forum.com/u/bertly_the_coder)\
**Post date:** [February 16, 2010, 9:21am UTC](https://www.ruby-forum.com/t/deploy-issues/183537/2 "2010-02-16T09:21:54Z")

</div>

On 16/2/2010 4:15 PM, bertly\_the\_coder wrote:

> Hey guys, does anyone know what causes the “don’t know how to build  
> task db:migrate” error, and how to fix it? I am trying to deploy a  
> Sinatra app.
> 
> Thx.

Should mean that the Rakefile which has the descriptions of the specific  
Rake tasks is not available in the local directory or has a name  
different from the default.

I think you should check if you are running rake from the correct  
directory.

Cheers,  
Mohit.  
16/2/2010 | 4:21 PM.
