shugo/mod_ruby — pull request #3 by nishidayuya (2013-10-26 01:28:09+00:00)
Title: add Apache::Request#flush method for Kernel#spawn.

mod_ruby application cannot call Kernel#spawn.
Because Kernel#spawn requires $stdout.flush and mod_ruby replaces $stdout to Apache::Request instance (no flush method).

This pull-request fixes it.

An example:
```ruby
require "open3"

out, status = *Open3.capture2("ls") #=> /home/yuya/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/open3.rb:211:in `spawn': undefined method `flush' for # (NoMethodError)
puts(out)
```