From: Robert Klemme Date: 2006-01-14T19:01:41+09:00 Subject: Re: ruby under cygwin & windows paths 2006/1/14, David Vallner : > If it does indeed work (Which I can't, or rather won't test), it > indubitably is. Wrapper scripts are just a hack that first came to mind > since I use them for a few other things - notably automagically running ri > in glorious ANSI technicolour and paging it via less, and basically > emulating alias on CMD. The nice thing about modifying the env is that you can create a default location for your self written lib scripts that and you can always access them without additional hassle. Wrapper scripts are just plan ugly IMHO. > The global environment change has a pitfall if RUBYLIB happens to be set > systemwide, but that shouldn't be the case, and even if so, I think > user-set PATH-like environment variables always come first in the final > value. I would only set it globally if the libs are intended to be used by all users. About precedence: user settings always override global settings but you can also use the global setting to define a user variable, e.g. PATH=%PATH%;M:\y\local\path Kind regards robert