Topic: Error with rake db:test:clone_structure

I get the errors below when I try to run this rake command. I wonder if this is being caused by having Postgres on a remote server?

sh: line 1: pg_dump: command not found
sh: line 1: dropdb: command not found
sh: line 1: createdb: command not found
sh: line 1: psql: command not found

Do I need to install Postgres locally as well if those Postgres commands are to work?