Capistrano deployment failing on db:migrate

From the error message I would assume that it is just a password issue,
but for some reason the part of the deploy script that contains the
method that normally prompts me for my password is not being run.

Here is the error message:
command “cd /var/rails/my_app/releases/20080409012418; rake
RAILS_ENV=production db:migrate” failed on the_server.com

I am using the script that Bryan L. used in his linode deployment
with some modifications to talk to a Git repository.

Thanks for any help.

Turns out the reason was that the Haml gem wasn’t yet installed on the
server.

Problem solved.