Alex Fenton
6/22/2005 7:38:00 AM
> AF> Use Wx rather than Tk myself, so not sure exactly what form these
> AF> additional widgets come in. But, assuming they're .so / .dll files, they
> AF> can be bundled into the rubyscript2exe executable using the
> AF> environment variable RUBYSCRIPT2EXE_DLLS at "compile" time.
>
> At least BWidgets are pure TCL and this will not work as it would
> require a patch to the TCL library to take the ruby scripts out of the
> exe file instead from a file path specified by the TCL_PATH (or
> whatever it's name is).
OK, thanks, that's interesting to know. Can be a bit difficult using an
installer (I've been using NullSoft's) with rubyscript2exe as the
actual path from which the ruby script is run is not the installed
directory (/usr/local/..., C:/program files/...).
Might be worth trying tar2rubyscript in combination with rubyscript2exe
in this situtation. First create the tar containing the whole directory
layout
needed, including the Tcl libraries, then make a rs2exe executable from
that so that the tar file can run without an installed ruby. This was the
author's suggested solution when I had a problem bundling .xpm icon
files that were required by an app.
cheers
a