On Thu, 13 Jan 2005 23:48:05 +0100, Florian Gross wrote: > Erik Veenstra wrote: > > > * Added RUBYSCRIPT2EXE_DLLS. Sometimes, you want to embed > > an additional DLL in the executable. That's easily done by > > setting RUBYSCRIPT2EXE_DLLS in your application: > > 'RUBYSCRIPT2EXE_DLLS = ["a.dll", "b.dll", "c.dll"]' At the > > end of the tracing of your script, the mentioned DLL's are > > copied from the directory in which the application was > > started, if they exist. The DLL's on which these DLL's > > depend are not copied, in contrast to the dependencies of > > ruby.exe and its libraries, which are resolved recursively. > > Thanks a lot for adding this! Can absolute paths be used? Yes. I do something like this: fromfile = File.expand_path(dll, fromdir) tofile = File.expand_path(File.basename(dll), todir) gegroet, Erik V.