From: Joel VanderWerf Date: 2006-02-09T03:53:32+09:00 Subject: Re: Relocatable Ruby executable Asfand Yar Qazi wrote: > Hi, > > 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. > > Thanks > Are you aware of rubyscript2exe? It packages the interpreter + libraries you require + your main script file. I've been very happy with it. http://www.erikveen.dds.nl/rubyscript2exe/index.html This is for the ruby extension approach, but not the embedding approach. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407