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.
on 2006-02-05 10:34
on 2006-02-13 10:57
> file = File.open("test.txt", "w") Should be: file = File.open(oldlocation("test.txt"), "w") It's described on the site . gegroet, Erik V. - http://www.erikveen.dds.nl/  http://www.erikveen.dds.nl/tar2rubyscript/index.ht...