Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lilith opened this issue Mar 16, 2017 · 9 comments
Open

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

lilith opened this issue Mar 16, 2017 · 9 comments

Comments

@lilith
Copy link

lilith commented Mar 16, 2017

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)

@vertexclique
Copy link
Owner

If rustup is not in your PATH it can't be detected.

@lilith
Copy link
Author

lilith commented Mar 16, 2017

It's in $PATH.

@lilith
Copy link
Author

lilith commented Mar 16, 2017

Sorry, just realized markdown was hiding the error I reported. Inserted newline.

@vertexclique
Copy link
Owner

can you expand the path and try again? like:

/home/nathanaeljones/.cargo/bin/rustup

@lilith
Copy link
Author

lilith commented Mar 16, 2017

This is only during package installation. It works afterwards, and in the terminal.

@vertexclique
Copy link
Owner

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.

@lilith
Copy link
Author

lilith commented Mar 16, 2017

Yeah, $HOME/.cargo/bin/rustup is where rustup is located. I'm using nightly-2017-03-04, in case that matters.

@nullterminated
Copy link

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

@vertexclique
Copy link
Owner

Ok, this looks like tilde expansion problem. By default, I bypassed this by using $HOME variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants