500 Error on Ruby on Rails

Hi

I get a 500 Error on my apache + fcgi server.

I tried ruby dispatch.fcgi and I get this.

Content-Type: text/html; charset=utf-8
Set-Cookie: _AMC_session_id=dfec4eea61243e40a06ed51566a6ce9a; path=/
Status: 302 Found
Location: http://:/main/login
X-Runtime: 0.00104
Cache-Control: no-cache
Content-Length: 85

<html><body>You are being <a href="http://:/main/login">redirected</

.</body></html>

Where's the error?