From: Albert Schlef Date: 2009-05-11T19:11:44+09:00 Subject: Re: Who added this to my $PATH? Hi, I'm the original poster. > I hope that a gem author would > not do something so obviously dangerous After thinking more about this, I think there's 70% probablity that it was I who added that line to that file. It's just that I don't remember this. I do remember that I was writing a certain gem that had an executable I experimented with. So let's make it a 85% probability. And since it's hard to believe any alien script would add that line, we'll have to conclude that it is indeed my own handiwork. > > How about "ls -l .bashrc" to see when it was last changed? I tried that, but I might have edited that file since. I'd better put all my config file in a git repository. > If a nefarious gem is suspected of making this change, then he can > probably find it using a variant of > > grep -R bashrc /usr/lib/ruby/gems/1.8 (I cleaned up my system, so many of the gems I had aren't there anymore.) -- Posted via http://www.ruby-forum.com/.