"Portable" Ruby

I’m wondering if it’s feasible at all to package a Ruby environment as a
“Portable App” (along the lines of http://www.portableapps.com). The
idea is to have a fully-functional Ruby environment that executes
entirely from removable media leaving no footprint whatsoever on the
machine it’s run on – no registry entries, no configuration files, etc.

What I really want this for is a portable JunebugWiki that I can run
from my USB stick without worrying about whether or not (the latter
being far more likely!) Ruby is installed on the machines I’d use it on.

Both are quite easy to do.

Since it’s a portable app you probably want a windows distribution.

AFAIK the distribution from InstantRails would work as “portble” out of
the
box.

It would take some tweaking (mainly a bat file for the environment
variables) to get the OneClickRuby to become portable.

Have you heard of Ruby2Exe?

Aur S.

http://RubyMentor.rubyforge.org/

On Apr 8, 10:23 am, “Michael T. Richter” [email protected] wrote:


Michael T. Richter [email protected] (GoogleTalk:
[email protected])
In his errors a man is true to type. Observe the errors and you will
know the man. (孔夫子)

signature.asc
1KDownload

RubyScript2Exe might meet your needs:

http://www.erikveen.dds.nl/rubyscript2exe/index.html

David

On 4/9/07, barjunk [email protected] wrote:

Couldn’t you do something similar to InstantRails? I think it is
windows only…but maybe it will give you ideas.

Well PortableApps is windows only anyway unfortunately.

Some guy described how to here. He used InstantRails or a variant of it.

http://ruby.about.com/od/resources/ss/portable_ruby.htm
http://ruby.about.com/od/resources/qt/portable_rails.htm

Been meaning to do this kind of thing myself. It could be very handy
for teaching Ruby/Rails. Y’know bring your educational install around
with
you and such.

On Apr 8, 6:23 am, “Michael T. Richter” [email protected] wrote:


Michael T. Richter [email protected] (GoogleTalk:
[email protected])
In his errors a man is true to type. Observe the errors and you will
know the man. (孔夫子)

signature.asc
1KDownload

Couldn’t you do something similar to InstantRails? I think it is
windows only…but maybe it will give you ideas.

Mike B.

On Sunday 08 April 2007 14:23, Michael T. Richter wrote:

I’m wondering if it’s feasible at all to package a Ruby environment as a
“Portable App” (along the lines of http://www.portableapps.com). The
idea is to have a fully-functional Ruby environment that executes
entirely from removable media leaving no footprint whatsoever on the
machine it’s run on – no registry entries, no configuration files, etc.

What I really want this for is a portable JunebugWiki that I can run
from my USB stick without worrying about whether or not (the latter
being far more likely!) Ruby is installed on the machines I’d use it on.
Google for:

ruby2exe
instantRails

also you can just copy full ruby interpreter to your usb stick, but if
you
want wiki instantrails is much faster/easier