I'm not entirely sure where I can fix that.. It's just the first part of the path that's buggered, it seems. Any help would be very much appreciated.
.bash_profile has the following:
Am I right to presume that the error comes from somewhere else? Where is the $PATH that $HOME/bin is appended to set?