From: John Joyce Date: 2007-10-13T03:32:04+09:00 Subject: Re: [OT] Re: wtf? gem command vanished On Oct 12, 2007, at 12:50 PM, ara.t.howard wrote: > > On Oct 12, 2007, at 11:15 AM, John Joyce wrote: > >> Ara, they work the same in Bash on any system. > > technically that is true, but each system configures the system > wide bash files diffrently > > http://www.railsforum.com/viewtopic.php?pid=39026 > http://forums.macosxhints.com/archive/index.php/t-34083.html > http://thefactoryfactory.com/wordpress/?p=287 > > users coming from linux to bsd/osx are sometime surprised to find > their .bashrc not sources in certain situations - this is due to > the setup in /etc, not bash itself. regardless it's a source of > confusion for many people. not sources? huh? I think it's linux that might be deviating on that actually, but it shouldn't matter. in all of them, there is a load precedence precedence on the file name and location. Some of the files officially have the same precedence, but might get slightly higher by being loaded in the order of the file name. It's a fairly simple system, but has weaknesses, particularly the ability to have multiple files that do the same thing and may have conflicting information in them.