From: Alex Fenton Date: 2005-06-22T08:15:35+09:00 Subject: Re: rubyscript2exe Joe Van Dyk wrote: > I have a GUI program written in Tk that I'd like to distribute using > rubyscript2exe. > > However, the application uses a couple Tk extensions: > > - TkTable -- needs to be installed and have a Ruby shared library > built for it (in ext/tk/lib/tkextlib/tktable) > > - BWidget -- Just needs the Tk extension installed. > > Is there any way I could pack all that stuff into one executable? Use Wx rather than Tk myself, so not sure exactly what form these additional widgets come in. But, assuming they're .so / .dll files, they can be bundled into the rubyscript2exe executable using the environment variable RUBYSCRIPT2EXE_DLLS at "compile" time. Erik's web page describing how to use the tool give a good description and examples of using this. http://www.erikveen.dds.nl/rubyscript2exe/index.html#3.3.1..Pragmas This works well for me bundling a sqlite.dll (the core library, not the ruby bindings) into an executable cheers a