vertexclique / tokamak

Fusion Reactor for Rust - Atom Rust IDE

Home Page:https://vertexclique.github.io/tokamak/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tokomak can't find rustup during install, but rustup is there

lilith opened this issue · comments

Failed to spawn command $HOME/.cargo/bin/rustup. Make sure $HOME/.cargo/bin/rustup is installed and on your PATH

>  $HOME/.cargo/bin/rustup
rustup 1.0.0 (17b6d21 2016-12-15)

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.