Changed to work with rails 3
Merge pull request #154 from whatsbcn/master

fastcgi with rails 3