* Enhanced the support for RubyGems: I'm working on full
support of RubyGems. The handling of require_gem and the
mangling of $: are implemented and all files of a gem are
embedded. I've tested just a couple of gems, not all of them.
If you've troubles with a specific gem, please let me know.
* Added support for .dll extensions and .o extensions.
* 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.
* Fixed a bug concerning backslashes in the tracing part.
* 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?
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?
So can I use this to bundle a Windows XP manifest file?
(it's basically some metadata in XML format that tells Windows XP to
use the modern look & feel)
The thing is, I need the file (say... rubyw.exe.manifest) to reside in
the same directory as rubyw.exe.
So can I use this to bundle a Windows XP manifest file? (it's
basically some metadata in XML format that tells Windows XP
to use the modern look & feel)
The thing is, I need the file (say... rubyw.exe.manifest) to
reside in the same directory as rubyw.exe.
All files in RUBYSCRIPT2EXE_DLLS are copied to the directory in
which rubyw.exe resides (todir). So, by accident: yes.