Hi!

I have been using tar2rubyscript and rubyscript2exe with FXRuby and it 
works like a charm. But now first time I am trying to generate a file 
from ruby. It works fine with the interpreter, but apparently not with 
the generated exe.

Here the three lines of code (in a file named init.rb)

  file = File.open("test.txt", "w")
  file << "Hello world from the file"
  file.close()

And what I do:

  ruby tar2rubyscript-0.4.7.rb eclipse/test/
  ruby rubyscript2exe.rb eclipse/test.rb

What I am missing here? I don't know what happens. No error, no message 
and no output file. Do I need extra configuration? I am using Windows XP 
(in the office) and XP 64-bit (at home). Same results. Ruby 182-15 and 
last versions of both tools.

Thanks for your help.

-- 
Posted via http://www.ruby-forum.com/.