I'm developing an application in rails for manage a restaurant and the natural way to distribute it as an executable. Furtther informations about the project could be found on http://rubyforge.org/projects/pelmo/ I've followed the instructions to create the executable under Mac Os X, but without luck. The executable has been created, but it dosn't work. I've compiled the source code of eee.pas correctly but i receve an error when i try to launch the application (./pelmo_darwin) This is the error: pelmo_darwin: Couldn't write file (BLOCKCOPYFROMGZ). I've the following versions of other softwares: ruby 1.8.5 rails 1.2.3 rubygem 0.9.3 mongrel 1.0.1 sqlite3-ruby 1.2.1 tar2rubyscript 0.4.8 rubyscript2exe 0.5.2 darwin 8.9.1 Mac OS X 10.4.9 running on a MacBook Pro Thanks in advance for the answers. Matteo Gavagnin
on 2007-05-18 12:31
on 2007-05-18 15:54
Matteo Gavagnin wrote: > I'm developing an application in rails for manage a restaurant and the > natural way to distribute it as an executable. Not an answer to your rubyscript2exe problems, but you might instead take a look at Platypus which will package up any sort of script or executable into an OS X application that you can run by clicking on an icon in the Finder. http://www.sveinbjorn.org/platypus
on 2007-05-18 19:08
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 So i'm waiting for help. Thanks anyway.
on 2007-05-18 21:51
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.