Re: Ruby App Distribution - RUBY

This is a discussion on Re: Ruby App Distribution - RUBY ; Note: parts of this message were removed by the gateway to make it a legal Usenet post. I don't see how RubyScript2Exe would work when it's a virtual machine. Would it package the entire virtual machine inside the exe? With ...

+ Reply to Thread
Results 1 to 3 of 3

Re: Ruby App Distribution

  1. Default Re: Ruby App Distribution

    Note: parts of this message were removed by the gateway to make it a legal Usenet post.

    I don't see how RubyScript2Exe would work when it's a virtual machine. Would it package the entire virtual machine inside the exe?

    With Tar2RubyScript it requires you to change your script to work with that tool with the oldlocation/newlocation thing. I don't really like the idea of that.

    Will the new version of ruby have something similar to jar built into its virtual machine? I looked around the net but couldn't find anything like that.

    Joe

    ----- Original Message ----
    From: Eric I. <rubytraining@gmail.com>
    To: ruby-talk ML <ruby-talk@ruby-lang.org>
    Sent: Tuesday, December 4, 2007 10:20:08 AM
    Subject: Re: Ruby App Distribution


    On Dec 4, 9:25 am, Joe L <superist_...@yahoo.com> wrote:
    > I was wondering what are the options for distributing a ruby

    application. Java has the jar and C++ you can compile to an exe. What options
    does Ruby provide? I'm not looking to distribute anything before the
    next release. I don't know if something is being added with Yarv to
    aide in distribution. Any info would be great.

    Take a look at: http://www.erikveen.dds.nl/ruby.html .

    You'll find some options there. Tar2RubyScript packages all the files
    that comprise a Ruby program into a single file that can be run on a
    machine that already has Ruby installed. RubyScript2Exe goes a step
    further, and incorporates the Ruby interpreter and all required
    libraries into the single file as well, so the target machine doesn't
    even have to have Ruby installed.

    Eric

    ====

    Interested in hands-on, on-site Ruby training? See
    http://LearnRuby.com
    for information about a well-reviewed class.







    ____________________________________________________________________________________
    Never miss a thing. Make Yahoo your home page.
    http://www.yahoo.com/r/hs

  2. Default Re: Ruby App Distribution

    On 12/4/07, Joe L <superist_joe@yahoo.com> wrote:
    > I don't see how RubyScript2Exe would work when it's a virtual machine. Would it package the entire virtual machine inside the exe?
    >

    I don't know all the internals, but essentially, yes. It collects
    everything needed to run your script into a self-extracting executable
    format.
    It has worked great for me in the past, I was able to make a
    standalone app which included an FXRuby UI and web support. It was a
    pretty large executable, but ran perfectly on an otherwise ruby-free
    laptop.

    -Adam


  3. Default Re: Ruby App Distribution

    On Dec 4, 2007 10:35 PM, Joe L <superist_joe@yahoo.com> wrote:
    > I should have mentioned this in the last email. I'd like to find something platform independent too. I use Linux personally, but I'd like it to work on Windows, Mac OS X, and of course Linux.


    It sounds like a job for Rubygems to me. Your users would need to have
    Ruby and Rubygems already installed, but then it would be pretty easy
    to install your gem.

    --
    Bira
    http://compexplicita.blogspot.com
    http://sinfoniaferida.blogspot.com


+ Reply to Thread

Similar Threads

  1. Re: Ruby App Distribution
    By Application Development in forum RUBY
    Replies: 7
    Last Post: 12-07-2007, 12:36 AM
  2. Re: Ruby App Distribution
    By Application Development in forum RUBY
    Replies: 2
    Last Post: 12-06-2007, 12:46 AM
  3. Re: Ruby App Distribution
    By Application Development in forum RUBY
    Replies: 1
    Last Post: 12-05-2007, 09:14 AM
  4. Ruby App Distribution
    By Application Development in forum RUBY
    Replies: 3
    Last Post: 12-04-2007, 02:52 PM
  5. Replies: 31
    Last Post: 09-12-2007, 11:05 PM