0
1
Somehow, possibly in-between installing RVM and MacPorts, I get an error message whenever I open up my terminal in Snow Leopard that complains that I have an invalid identifier in my bash export. I've tracked down the culprit to be /usr/local/bin which doesn't seem to exist on my system. Should this worry me? and if not, how do I find out where /usr/local/bin is being called from?
I've looked in .profile, .bashrc, and .bash_profile in my home directory, but I can't seem to find it in any of those files. Where else could it be, or how can I easily find out?
Thanks, Rich
I found the culprit... turns out it was nothing to do with /usr/local/bin, as mipadi said. Instead, there was a line in .bash_profile, which was causing the issue: PATH=$PATH:~/.gem/ruby/1.8/bin ; export $PATH; So I changed this to export PATH=$PATH:~/.gem/ruby/1.8/bin and the issue went away. Please comment if this is likely to cause any errors in the future. Rich – purpletonic – 2010-02-15T21:30:01.947