webby icon indicating copy to clipboard operation
webby copied to clipboard

reopening IO breaks in passenger 2.2.8/2.2.9

Open tpitale opened this issue 15 years ago • 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.

tpitale avatar Feb 01 '10 06:02 tpitale

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

ariejan avatar Mar 08 '10 16:03 ariejan

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

tpitale avatar Mar 08 '10 16:03 tpitale