Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
rubyscript2exe - Darwin
Matteo Gavagnin
5/18/2007 10:32:00 AM
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/proje...
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
--
Posted via
http://www.ruby-...
.
3 Answers
Mike Fletcher
5/18/2007 1:54:00 PM
0
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.or...
--
Posted via
http://www.ruby-...
.
Matteo Gavagnin
5/18/2007 5:08:00 PM
0
Mike Fletcher wrote:
>
http://www.sveinbjorn.or...
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.
--
Posted via
http://www.ruby-...
.
Mike Fletcher
5/18/2007 7:52:00 PM
0
Matteo Gavagnin wrote:
> Mike Fletcher wrote:
>>
http://www.sveinbjorn.or...
>
> 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.or...
_cocoadialog for an example of
including another application (CocoaDialog, specifically) inside a
Platypus wrapper.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
rubyscript2exe - Darwin
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password