On Wed, 18 Jun 2003, Rasputin wrote:
> * GOTOU Yuuzou <gotoyuzo@notwork.org> [0629 06:29]:
> > Hi,
> >
> > In message <20030616160151.GA6808@littlebird.tenfour>,
> > `Rasputin <rasputin@idoru.mine.nu>' wrote:
> > > httpd.rb runs fine when runnig rhtml, but the cgi example
> > > seems to fail.
> >
> > > /usr/pkg/lib/ruby/site_ruby/1.6/webrick/httpservlet/cgi_runner.rb:23:in `restore': marshal data too short (ArgumentError)
> >
> > It's a bug of WEBrick. Partial-read occurs in data passing
> > from server to CGI, but cgi_runner.rb doesn' t care it.
> > This bug is fixed in CVS version.
>
> Thanks, that seems to work - but the CVS version needs 1.8
> (for stringio). I only have 1.6 ...
>
> Is there a workaround for 1.6 , or is it not worth it now 1.8 is
> almost released?
download the 'shim' from the RAA. it gives most (all?) functionality expected
in 1.8 for 1.6. stringio is definitely in there.
-a
--
====================================
| Ara Howard
| NOAA Forecast Systems Laboratory
| Information and Technology Services
| Data Systems Group
| R/FST 325 Broadway
| Boulder, CO 80305-3328
| Email: ara.t.howard@noaa.gov
| Phone: 303-497-7238
| Fax: 303-497-7259
| ~ > ruby -e 'p(%.\x2d\x29..intern)'
====================================