Rake db:test:prepare

Hi
I am using postgres And I have already development database…When I
give
rake db:test:prepare it gives
sh: dropdb: command not found
sh: createdb: command not found
But how ever test db is created Same happens also when rake
db:test:clone
I would like to know why I am getting this message

Thanks in advance
Sijo

On Fri, Aug 29, 2008 at 12:19 AM, Sijo Kg
[email protected] wrote:

Hi
I am using postgres And I have already development database…When I
give
rake db:test:prepare it gives
sh: dropdb: command not found
sh: createdb: command not found
But how ever test db is created Same happens also when rake
db:test:clone
I would like to know why I am getting this message

You need these commands in your $PATH. They’re part of the PostgreSQL
distribution.

jeremy

So may I ask one more doubt .If $PATH does not have have these commands,
then how the table is dropped and created when execute rake
db:test:prepare ?

Sijo

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs