[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

distributing a ruby program

Tom Reilly

10/22/2007 1:02:00 PM

I want to distribute a ruby program to 4 offices where I work.

How do I create a minimum subset of the ruby distribution such that it
contains only the modules and ruby system that I need so that my program
can run?
Thanks

Tom Reilly

2 Answers

virumoz

10/22/2007 5:12:00 PM

0

Hi Tom,

> How do I create a minimum subset of the ruby distribution such that it
> contains only the modules and ruby system that I need so that my program
> can run?

for exactly the same problem I use "RubyScript2Exe" and it's
derivates from Erik Veenstra:

<http://www.erikveen.dds.nl/rubyscrip...

Is a little complex first, but you get used to it. I assumed that
you
want to have a Windows executable containing your scripts, the Ruby
interpreter and all actually used libs.

I once developed a Ruby app with FXRuby frontend using Linux,
ported and packaged it using a Windows installation, burned it to
CD and gave it to a customer. It works even from CD/USB-Stick
because
it unpacks part of the Exe in the TEMP directory and starts from
there.

virumoz

virumoz

10/22/2007 5:21:00 PM

0

Sry for the odd linebreaks, and:
it's --> its
;-)
virumoz