DÅ?a Streda 08 FebruÃ¡r 2006 17:33 Asfand Yar Q. napÃsal:
How can I create a relocatable Ruby executable? Meaning, that I can
distribute a copy of it along with the modules I need with a binary app I
am embedding Ruby into. I’m considering both actually programatically
embedding Ruby into my app using libruby.a or whatever, as well as making
my app an extension library run by the Ruby executable - if you could give
details of both, I’d be grateful.
I -think- on Windows the ruby interpreter semiautomagically sets up the
it needs relative to the path where ruby.exe that was run is located, so
you can go without the aesthetics and compactness of rubyscript2exe, you
should be able to safely get away with distributing your ruby directory
in the application’s distribution somewhere.