I know it sounds crazy, but could it be a DNS issue? Can your webserver actually see itself? I ask this because I recently dealt with a similar situation (not using rails, but ASP.NET) where the webserver has some screwy DNS issues where internal calls to 127.0.0.1 or localhost weren't routing properly. Even doing a ping to 127.0.0.1 from commandline wouldn't work.