FastCGI mode dumps contents of dispatch.fcgi

With my new host (dreamhost), when I switch from cgi to fcgi, accessing
the page dumps the contents of the dispatch.fcgi to the browser. (see
below). I assume this is an easy fix that a linux neophite would miss:

#!/usr/bin/ruby1.8

What does your .htaccess file look like?