Some manifestations of this problem: macports won't install, MATLAB won't run, BTT works but incessantly spams me with " not found" popups, and emacs shell does not work.
My interactive shell PATH is fine, so this is my '/etc/paths' file: /usr/bin /bin /usr/sbin /sbin /usr/local/bin /Users/sambo/bin
where that last one is my own personal scripts. Could I have damaged it just from appending? Anyways, that's problem and help would be appreciated.
EDIT: With echo -e ${PATH//:/\\n}
, I get
/Users/sambo/.rvm/gems/ruby-1.9.2-p290/bin
/Users/sambo/.rvm/gems/ruby-1.9.2-p290@global/bin
/Users/sambo/.rvm/rubies/ruby-1.9.2-p290/bin
/Users/sambo/.rvm/bin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/Users/sambo/binsr/sbin
/sbin
/usr/X11/bin
/usr/texbin
â
/Users/sambo/sox
/Users/sambo/bin
/usr/texbin
/Users/sambo/.rvm/gems/ruby-1.9.2-p290/bin:/Users/sambo/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/sambo/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/sambo/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/sambo/binsr/sbin:/sbin:/usr/X11/bin:/usr/texbin:â:/Users/sambo/sox:/Users/sambo/bin:/usr/texbin
- is it OK for these ruby bins to be upstream of the system bins?
- could that junk cause any trouble?
/usr/texbin
looks kind of fishy.uname
directly at the shell prompt? If it fails, please copy/paste the whole error message.