[Mongrel] Does send_file act differently with Mongrel than with Webrick?

Luis Lavena luislavena at gmail.com
Thu Dec 14 11:20:12 EST 2006

On 12/14/06, mongrel_users at homerlex.mailshell.com
<mongrel_users at homerlex.mailshell.com> wrote:
> Mongrel
> Windows XP
> Rails 1.1.6
> I have a rails app that serves up mp3 files via the send_file command.  We create a playlist (M3U) with URLs to the mp3s.  These play just fine using Windows Media Player.  However using WinAmp we get an error "error syncing to stream" when it tries to request the mp3.
> After playing around I found that if I am running Rails under Webrick WinAmp is able to retrieve the mp3s just fine.
> Does anyone have any idea what the problem is when using Mongrel?

Maybe I'll sound too stupid, but default mime types in WEBrick cover .mp3 files.

Maybe you aren't using a mime.yml file with mongrel?

> Regards
> _______________________________________________________
> The FREE service that prevents junk email http://www.mailshell.com
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users

Luis Lavena
Multimedia systems
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

More information about the Mongrel-users mailing list