On Nov 8, 2004, at 2:53 PM, Ken Innes wrote:

> Oops, actually, my path did get messed up. I didn't notice before
> (must be Monday), but there are several directories missing from the
> PATH, including the /scripts directory. So I just did another test:
>
>      /scripts/script2.rb:
>           #!/usr/bin/ruby
>           puts `env | grep PATH`
>           puts ENV["PATH"]
>           puts `/usr/bin/env | grep PATH`
>
>      Command Line:
>           [testing]% script2.rb
>           /bin:/usr/bin:/usr/local/bin:.:/scripts
>           /bin:/usr
>           PATH=/bin:/usr
>           [testing]%
>
> And I notice that there is no "/usr" initially, but it's there after
> the ENV["PATH"] is referenced. I've searched all the files in my home
> directory, and don't see it setting just "/usr" to the path anywhere.
> I also search through the files in the Ruby directory, and also never
> see a "/usr" by itself.

Hrm...

I'm not sure what the equivalent is on RedHat, but what about looking 
/etc/csh.*

There should be default a default .cshrc and .login there, do they have 
any odd paths?