I have a basic Dreamhost account as well as an iMac running Apache2/Rails/SVN/et al. I can only get my Hello World Ruby script to execute in my iMac's cgi-bin. Dreamhost doesn't have any cgi-bin that I'm aware of.
I've CHMODed the .rb file to 755. I've tried both a shebang line that points directly to Ruby and another that uses the env path. I've tried adding an AddHandler cgi-script .rb to the httpd.conf on my iMac and to an .htaccess file on my Dreamhost account.
Viewing the .rb file my browser yields the source code. Do I need an AddType line also? What the heck am I doing wrong?