Mobile Ruby

When I started learning Ruby a few weeks ago, I decided I wanted to be
able to program from "anywhere" so I bought one of those USB flash
drives and put all my source code and documentation on that. I have
Ruby installed on my work desktop, my home desktop, and my home laptop
now so I just take my USB drive around with me and whenever I feel the
urge, I can work on my code. I realize that's not quite what you're
asking for, but it's a simple solution that works for me.

Todd.

···

-----Original Message-----
From: brian.yamabe@gmail.com [mailto:brian.yamabe@gmail.com]
Sent: Friday, November 05, 2004 9:29 AM
To: ruby-talk@ruby-lang.org
Subject: Mobile Ruby

First, I'm not talking about Ruby on mobile devices. I'm
talking about being able to program in Ruby from anywhere.
As a developer I've always been resigned to the fact that I'd
be tied to a specific machine (laptop or desktop). I
couldn't just go off and borrow someone elses computer to do
some development without installing runtimes, ide's, editors,
libraries, etc. Then this morning I thought, why not? Isn't
a wiki just a brain-dead remote source code repository. Why
not execute that repository? Obviously there need to be some
configuration layers added and an editor tailored to
programming, but the basic concept isn't a huge leap.

I'm not the brightest bulb in the draw, so I figure someone
must have thought of this before. Has anyone implemented it?
Ruby seems like an ideal candidate for doing this kind of work.

Bradley, Todd wrote:

When I started learning Ruby a few weeks ago, I decided I wanted to be
able to program from "anywhere" so I bought one of those USB flash
drives and put all my source code and documentation on that. I have
Ruby installed on my work desktop, my home desktop, and my home laptop
now so I just take my USB drive around with me and whenever I feel the
urge, I can work on my code. I realize that's not quite what you're
asking for, but it's a simple solution that works for me.

Can one run Ruby itself from a CD or a flash drive? Not via Knoppix, though that may be a solution, but what would one have to do to be able to pop a CD into a drive, load source code from a flash drive, and start coding?

James

The only issues should be
* setting the PATH
* ensuring that ruby can load the libs/extensions. On win32, ruby just
  does a search relative to the path to the exec. itself, but this
  isn't possible in general on un*x, so you might end up having to set
  RUBYLIB manually...

···

On Sat, Nov 06, 2004 at 03:07:17AM +0900, James Britt wrote:

Can one run Ruby itself from a CD or a flash drive? Not via Knoppix,
though that may be a solution, but what would one have to do to be able
to pop a CD into a drive, load source code from a flash drive, and start
coding?

--
Hassle-free packages for Ruby?
RPA is available from http://www.rubyarchive.org/