Easy Jruby Portable on USB

Just an FYI if it helps. I found an easy way to make a fully portable
USB version of Jruby with a portable shell to easily manage your
jruby.

Download jruby as usual from jruby.org the zip file
http://jruby.org.s3.amazonaws.com/downloads/1.6.2/jruby-bin-1.6.2.zip
Extract this to your portable device mine was E:\

Download Console2 from sourceforge.

Extract it to the E:\Jruby folder

Double click on the console app on your E drive and it should open to
the current location.
E:\jruby-1.6.2\console2>

Then set your path.

set path=e:\jruby-1.6.2\bin

You can now install your gems to your usb drive or anything else you
would want.

Jruby -S gem install rspec rake cucumber

You can check if it is working for you as your gems installed with
the above command should be installed to:
E:\jruby-1.6.2\lib\ruby\gems\1.8\gems

Cheers

Sayth

Thanks for that info Sayth. Which operating systems have you tested for
launching from the USB?

2011/6/15 Sayth R. [email protected]

On Thu, Jun 16, 2011 at 2:15 PM, Stephen B. [email protected]
wrote:

Thanks for that info Sayth. Which operating systems have you tested for
launching from the USB?

Just Windows XP and 7, I might jump on vectorlinux later and just make
sure it works there. It should only real difference is I will have to
export path rhater than set it really.

Sayth