# Trying to run db:test:prepare (newbie)

**URL:** <https://www.ruby-forum.com/t/trying-to-run-dbprepare-newbie/122508>\
**Category:** Rails\
**Created:** [December 8, 2007, 2:32pm UTC](https://www.ruby-forum.com/t/trying-to-run-dbprepare-newbie/122508 "2007-12-08T14:32:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![statictony](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@statictony](https://www.ruby-forum.com/u/statictony)\
**Post date:** [December 8, 2007, 2:32pm UTC](https://www.ruby-forum.com/t/trying-to-run-dbprepare-newbie/122508/1 "2007-12-08T14:32:04Z")

</div>

Ok,

liking rails so far, can see its benefits. But I’m now trying to figure  
out the testing side of things.

When I try and run rake db:test:prepare I get this error

‘dropdb’ is not recognized as an internal or external command,  
operable program or batch file.  
‘createdb’ is not recognized as an internal or external command,  
operable program or batch file.

Using netbeans  
postgres  
and vista.

any help appreciated.
