From: Gavin Sinclair Date: 2004-10-05T09:29:52+09:00 Subject: Re: pstore.rb not operating in binmode On Tuesday, October 5, 2004, 7:12:07 AM, Henning wrote: > Hi, > while using the Rails web framework, I came across an > issue with ruby/lib/pstore.rb. Rails uses the PStore class > to store (binary) session data, but Ruby's PStore doesn't > set its streams to binmode. > On Windows this causes PStore to corrupt the binary > session data. > I also posted about the issue to > http://www.rubyonrails.org/show/MarshalDataTooShort > The people in #rubyonrails asked me to post a note to > ruby-talk about this issue. That's probably the reason I had Instiki failing big-time when running it under Cygwin. (Binary/non-binary data is often a problem there, as the directory you're in could be set to use either by default.) Gavin