From: Joe Van Dyk Date: 2005-06-22T08:18:12+09:00 Subject: Re: rubyscript2exe On 6/21/05, Alex Fenton wrote: > 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 > Yeah, I'm playing around with that, but haven't had much luck. :-( I'm specifying two libraries to be included, libTktable2.9.so and sysvipc.so. When I expand the resulting application, I see sysvipc.so in the lib directory, but there's no evidence of libTktable.2.9.so. Has anyone every tried bundling a Tk extension with Rubyscript2exe? Thanks, Jeo