TwP/webby

reopening IO breaks in passenger 2.2.8/2.2.9

tpitale opened this issue · 2 comments

In the core_ext/kernel.rb file, the method cmd_available? dups and reopens STDOUT/STDERR which causes issues under passenger. I've hacked my local gem to use backticks and redirect as part of the command.

I can fork and submit a pull request if you'd like.

I don't think webby was built to run under passenger. It generates static HTML for direct serving by apache or whatever.

That's the least constructive comment. Especially since I have a fix for it.