Open lilith opened 7 years ago
If rustup is not in your PATH it can't be detected.
It's in $PATH.
Sorry, just realized markdown was hiding the error I reported. Inserted newline.
can you expand the path and try again? like:
/home/nathanaeljones/.cargo/bin/rustup
This is only during package installation. It works afterwards, and in the terminal.
Cool, will take a look at it. By default if it couldn't find that, it defaults to $HOME/.cargo/bin/rustup
. I don't know why was the reason but i will try to reproduce. Thanks for feedback.
Yeah, $HOME/.cargo/bin/rustup
is where rustup is located. I'm using nightly-2017-03-04, in case that matters.
I had this same problem. In my .bashrc file I had put
export PATH=$PATH:~/.cargo/bin
The problem went away when I changed that to
export PATH=$PATH:$HOME/.cargo/bin
Ok, this looks like tilde expansion problem. By default, I bypassed this by using $HOME
variable.