John Joyce
9/1/2007 2:11:00 PM
On Sep 1, 2007, at 8:32 AM, Cliff Rowley wrote:
>> So here I've thought of a better way to do this.
>> You're using CygWin so I'm assuming it's windows and I don't know
>> much about this on windows, but you might try creating another user
>> account in windows, and install everything for ruby 1.9 under that
>> instead. if it works, you can totally avoid all the fragile custom
>> installation stuff. Just a logout / login away.
>
> That wouldn't really work for a number of reasons. Firstly because
> things like Ruby and Cygwin are installed globally, not on a per-user
> basis - so I wouldn't actually gain anything by switching user
> accounts. Secondly because my development environment exists under my
> user account, so switching users would kinda cripple me ;-)
>
> There must be a simple way to do this. I'll try fiddling with things
> like the gem path. As you say, things make assumptions, and this is
> what I'm afraid of - I don't want to hose my existing Ruby.
>
> Cliff
>
Hmm... on *nix, things like this are not necessarily global, but per
user.
You normally install things in /usr/local or a subdirectory of that,
pretty instantly allowing each user to have a custom setup from there
or from their shell login script. I know that Windows (not 95 or 98)
has some unix-like features here and there, but I don't know how much
in the users/accounts area.
Cygwin is a *nix-like environment so I thought it might be possible
from there...
Hate to say this, because I don't like to be an OS basher too much,
but maybe you should get an install of Linux to boot into, or go out
and buy a cheapo second hand pc or year old model or something just
for Linux/Unix installation?
You wouldn't need tons of HD or RAM or graphics ability, just an
internet capable machine.
This wouldn't help for testing 1.9 on windows though.
Maybe somebody else knows a solution..?