From: Robert Dober Date: 2009-05-11T18:30:42+09:00 Subject: Re: Who added this to my $PATH? On Mon, May 11, 2009 at 11:21 AM, Brian Candler wrote: > 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. > > How did you install RubyGems? If it came from an O/S package then maybe > its post-install script did it for you. > > BTW, Ubuntu *didn't* do this for me - I had to sort out my own path to > get /var/lib/gems/1.8/bin in there. > -- > Posted via http://www.ruby-forum.com/. I reread the OP again and again, because it is obvious (to me now) that Eric and you assume that OP did just install Rubygems. He did not say so. I still have this strange feeling that some gem did this to him. Maybe one he was writing himself? Cheers Robert > -- Si tu veux construire un bateau ... Ne rassemble pas des hommes pour aller chercher du bois, préparer des outils, répartir les tâches, alléger le travail… mais enseigne aux gens la nostalgie de l’infini de la mer. If you want to build a ship, don’t herd people together to collect wood and don’t assign them tasks and work, but rather teach them to long for the endless immensity of the sea. -- Antoine de Saint-Exupéry