Content-Type: text/plain; cht=us-ascii
I have just been trying to get fcgi to run under 1.8.0, and I have found a
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:476: warning: assignment to $stdout is deprecated; use STDOUT.reopen() instead
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:476:in `each_cgi': $stdout is a read-only variable (NameError)
from /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:473:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:473:in `each_cgi'
(One problem is that Ruby gives both a warning and an error; either
assignment should be allowed with a warning, or disallowed, not both :-)
This is caused by the following code:
$stdout, $defout, $stderr = request.out, request.out, request.err
Now, 'request.out' and 'request.err' are objects which respond to IO-like
calls, but are ...