[Rails] send_file on win32

Pierre Baillet oct at zoy.org
Thu Oct 21 08:22:42 GMT 2004


Hello Railers,

I've been trying to send files using send_file using latest «stable» 
gem. My rails runs on webrick, and I use latest pragmatic programmer 
installer on win32. No database backend yet.

Nevertheless, everytime I send_file or I file.read() some file I've just 
opened,  ruby crashes (I can read in my log "ruby bug... the runtime has 
requested...." but the webrick still keeps on running).

Of course file.read()ing the file in a standalone ruby script never crashes.

Has anyone experienced the same problem ?
Thanks in advance,
-- 
Pierre.


More information about the Rails mailing list