From: Chris Hulan Date: 2009-12-11T01:05:06+09:00 Subject: Re: Using OCRA, FXRuby and pdf-writer problem On Dec 9, 10:17 pm, Omar Campos wrote: > Hi again, > >  I did some more testing and found the following: > > I commented out any lines that had to do with the pdf generation, ran > the app using RubyW and it worked.  I then uncommented the the line: > > require 'pdf/writer' > >   Now, running with rubyw, nothing happens.  It seems that something > inside pdf/writer does not let rubyw work properly. Have you, or anyone > else out there, encountered this problem? > -- > Posted viahttp://www.ruby-forum.com/. I think it is the warning messages that are causing the issue They abort execution when using ruybw because stdout (or it maybe stderr) doesn't exist You may be able to redirect stdout and stderr to a file (or /dev/null) before requiring the pdf lib so the messages have a valid place to go cheers Chris