From: Luis Lavena Date: 2009-12-10T01:45:05+09:00 Subject: Re: Using OCRA, FXRuby and pdf-writer problem On Dec 9, 11:35 am, Omar Campos wrote: > Hello all, > >   I made a simple salary calculator as practice using FXRuby, OCRA to > create an .exe file and pdf-writer to generate a small "report" with the > results of the calculation.  The program runs fine when run with the > ruby interpreter, although I get some warnings: > Warnings are normal, > [...] When you want to attach an application code, use services like Pastie or Gist from GitHub to avoid long emails... > > -------------------------------- > >   I noticed that when I run this code with rubyw, it does not execute, > but with ruby.exe, it runs fine.  Am I doing something wrong? For some reason your or one of the libraries is outputting to the standard console. RubyW is a windowless environment and thus, all puts and things will fail because there is no standard console attached to it. When you run it with ruby.exe, do you get all these warnings? I guess not, but just to verify. -- Luis Lavena