> file = File.open("test.txt", "w")
Should be:
file = File.open(oldlocation("test.txt"), "w")
It's described on the site [1].
gegroet,
Erik V. - http://www.erikveen.dds.nl/
[1] http://www.erikveen.dds.nl/tar2rubyscript/index.html#toc_3.2.0
--
Posted via http://www.ruby-forum.com/.