From: Grant Hollingworth Date: 2006-12-09T06:44:27+09:00 Subject: Re: apache2 + ubuntu edgy + ruby * Sam Waller [2006-12-08 12:00]: >When I try to run a test.rb file I'm getting this in the error.log file: > >[Fri Dec 08 13:52:30 2006] [error] [client 127.0.0.1] (2)\xd9\x05i\xb7: exec of >'/var/www/site/test.rb' failed >[Fri Dec 08 13:52:30 2006] [error] [client 127.0.0.1] Premature end of script headers: test.rb It might be a problem with suexec. Check suexec.log. You probably have to change the permissions on the script -- suexec doesn't like scripts (or the directories they're in) to be group-writable.