From: Mike Fletcher Date: 2007-05-19T04:52:03+09:00 Subject: Re: rubyscript2exe - Darwin Matteo Gavagnin wrote: > Mike Fletcher wrote: >> http://www.sveinbjorn.org/platypus > > I've just tried it, but it doesn't fit for me because i need to ship an > executable that could run on every machine without the needs of ruby, > rails, sqlite-ruby, mongrel, etc Platypus will package up directories inside the application bundle it generates. You could just include your own ruby and whatever gems inside the application's directory and then set RUBYLIB and related environment variables appropriately in a shell wrapper script using the path to the application's directory passed as an argument when Platypus runs your code. See http://www.sveinbjorn.org/platypus_cocoadialog for an example of including another application (CocoaDialog, specifically) inside a Platypus wrapper. -- Posted via http://www.ruby-forum.com/.