PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > Create A Distributable Ruby Program With Minimal Install
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Create A Distributable Ruby Program With Minimal Install

Réponse
 
LinkBack Outils de la discussion
Vieux 31/03/2008, 06h35   #1
Wesley Rishel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Create A Distributable Ruby Program With Minimal Install

Although I have started to use Ruby instead of Python, I very much miss
one feature that I have not been able to find in Ruby.

There is a Python utility that takes a python script, and creates a
single installable file that contains the Python interpreter, the input
script and a stripped down version of the Python library with just
enough stuff to support the script.

With it, I can share my treasures with people who might not be willing
to do a full-blown install of Python. As far as they know, my script
comes as just another EXE file for installing a program.

Is there such a utility for Ruby?

I have tried searching with Google and I haven't been able to figure out
a search string that wouldn't give me 100s of citations to full-blown
installs of the Ruby library.
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 31/03/2008, 07h44   #2
eumario@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Create A Distributable Ruby Program With Minimal Install

Hey Wesley,

There's currently two available out there, in which allows you to
create a Self-Contained Application, each with different methods of
doing it. The first one, is rubyscript2exe (http://
www.erikveen.dds.nl/rubyscript2exe/). This lets you gather all of
your libraries and the Ruby Interpreter executable itself, puts them
all into an tar archive, then attaches it to what Erik describes as an
Environment Embedding Executable. When it's run, it'll extract the
files in the tar archive to a temporary directory, and run the ruby
script, as if it was a normal executable. This solution works on
Windows, and Linux, but takes a bit more trickery to make it work for
MacOS X.

There's also Exerb (http://exerb.sourceforge.jp/index.en.html), which
does a similar method, however, it's only for Windows, and it only
extracts the Extensions to a temporary file, so that they can be
linked to, your script and such still remains within the executable
file itself. Exerb uses Microsoft's Resource format, to store the
files within the executable, which, like I said before, only the
extensions are extracted, the rest stays in the executable.

Hope this s out,

Mario Steele

On Mar 31, 12:35 am, Wesley Rishel <wes.ris...@gartner.com> wrote:
> Although I have started to use Ruby instead of Python, I very much miss
> one feature that I have not been able to find in Ruby.
>
> There is a Python utility that takes a python script, and creates a
> single installable file that contains the Python interpreter, the input
> script and a stripped down version of the Python library with just
> enough stuff to support the script.
>
> With it, I can share my treasures with people who might not be willing
> to do a full-blown install of Python. As far as they know, my script
> comes as just another EXE file for installing a program.
>
> Is there such a utility for Ruby?
>
> I have tried searching with Google and I haven't been able to figure out
> a search string that wouldn't give me 100s of citations to full-blown
> installs of the Ruby library.
> --
> Posted viahttp://www.ruby-forum.com/.


  Réponse avec citation
Vieux 31/03/2008, 13h27   #3
Marc Heiler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Create A Distributable Ruby Program With Minimal Install

This question keeps on appearing over time
Most often one is pointed to rubyscript2exe but does anyone know if Erik
still maintains it?
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 31/03/2008, 14h13   #4
Erik Veenstra
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Create A Distributable Ruby Program With Minimal Install

> ... does anyone know if Erik still maintains it?

Yes, he still maintains it. Actually, there will probably be a new
release in a couple of days (read: weeks).

gegroet,
Erik V. - http://www.erikveen.dds.nl/

  Réponse avec citation
Vieux 01/04/2008, 01h02   #5
Michael Brooks
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Create A Distributable Ruby Program With Minimal Install

Erik Veenstra wrote:
>> ... does anyone know if Erik still maintains it?

>
> Yes, he still maintains it. Actually, there will probably be a new
> release in a couple of days (read: weeks).
>
> gegroet,
> Erik V. - http://www.erikveen.dds.nl/
>


Hello Erik:

Please pat yourself on the back for me. I haven't used rubyscript2exe
yet but I'm grateful that you've provided the option.

Michael
  Réponse avec citation
Vieux 01/04/2008, 01h15   #6
James Britt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Create A Distributable Ruby Program With Minimal Install

eumario@gmail.com wrote:
> Hey Wesley,
>
> There's currently two available out there, in which allows you to
> create a Self-Contained Application, each with different methods of
> doing it.



You can also use JRuby, then bundle up your app in a jar and use Java
Web Start to deploy it. Installation is a matter of clicking a link on
a Web page.

Fellow Happy Camper Logan Barnett gave a demo of this at last weekend's
MountainWest RubyConf.


--
James Britt

"Tear it up and start again."
- Anonymous

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h58.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11726 seconds with 14 queries