From: Alex Fenton Date: 2009-03-21T00:12:14+09:00 Subject: Re: Installing Ruby and Ruby Gems in a USB Flash Stick Ruby Student wrote: > Had anyone installed Ruby in a USB Flash Stick? ... > 1. When I run it from a machine that already has ruby installed, I don't > know from where ruby is running. > 2. When I try to install any gem, it actuall go to the C-Drive instead of > my USB stick. I noticed that you can tell gem where to install gems, but it > is not clear to me. You should look into setting a PATH environment variable to tell the system you're working on to look for the 'ruby' and 'gem' executables on the USB stick, rather than on C:/ etc. Have a look at: http://www.google.co.uk/search?q=path+environment alex