From: Eric Hodel Date: 2009-05-09T02:24:29+09:00 Subject: Re: Who added this to my $PATH? On May 7, 2009, at 1:08, Albert Schlef wrote: > I've just found the following line in my ~/.bashrc: > > PATH=$PATH:~/.gem/ruby/1.8/bin > > Now, that's vey beautiful. Instead of cluttering /usr/bin, everythig > goes in ~/.gem/ruby/1.8/bin. > > But I wonder. Who added this line to my ~/.bashrc? I doubt it's me, > because, IIRC, just today I discovered the fact the RubyGems puts > binaries there. It wasn't RubyGems, however RubyGems does warn you if you have --user- install (current default) and don't have the user bin for in your PATH. I'd be surprised if some other gem added the path for you. (I wouldn't add the code to do this to RubyGems as there's too many shells to support.)