I added two new lines to my .bashrc
so that Bash can find my Go programs:
GOROOT=/Users/jay/work
PATH=$PATH:$GOROOT/bin
But as a result, when I launch Emacs, Emacs hangs for several minutes and I get this error:
Tramp: Opening connection for bin using ssh...
Tramp: Sending command `exec ssh -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none bin'
Tramp: Waiting for prompts from remote shell...
Tramp failed to connect. If this happens repeatedly, try
`M-x tramp-cleanup-this-connection'
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for bin using ssh...failed
In a previous question, I found that a path declaration in my .bashrc
file caused Tramp to hang. The line was this:
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
That time, I resolved the issue by simply removing the line, since it didn't seem necessary. But this time I kind of need these path declarations.
How do I resolve this error without deleting this path declarations from my .bashrc
?