From: Omar Campos Date: 2009-12-11T12:41:59+09:00 Subject: Re: Using OCRA, FXRuby and pdf-writer problem Hi, I did as you said, and it worked. I put this line on top: $stderr2 = $stderr.clone $stderr.reopen('tmp2.dat') require 'pdf/writer' And then, when the script exits: @stderr.reopen($stderr2) to restore the original output device. The reason for this is that when I run OCRA, it runs the app to check its dependencies, but since there is no output, it fails. Many thanks to all who helped me with this issue. -- Posted via http://www.ruby-forum.com/.