rubyscript2exe - Darwin

M

Matteo Gavagnin

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
 
M

Mike Fletcher

Matteo said:
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
 
M

Mike Fletcher

Matteo said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top