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

rustup run <version> cargo does not work when rustup is not in path #497

Closed
hansihe opened this issue May 24, 2016 · 2 comments
Closed

rustup run <version> cargo does not work when rustup is not in path #497

hansihe opened this issue May 24, 2016 · 2 comments

Comments

@hansihe
Copy link

hansihe commented May 24, 2016

Trying to use rustup without having the bin folder added to my path.

Running rustc directly seems to work fine, but things break when trying to run cargo.

~/g/R/test> /home/hansihe/.cargo/bin/rustup run nightly-2016-05-07 rustc --version
rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)
~/g/R/test> /home/hansihe/.cargo/bin/rustup run nightly-2016-05-07 cargo --version
error: Could not execute process `rustc -vV` (never executed)

Caused by:
  No such file or directory (os error 2)

I saw some other issues getting similar errors, but I am unsure if the issues are related.

@brson
Copy link
Contributor

brson commented Jun 3, 2016

I believe this will be fixed by #402

@Diggsey
Copy link
Contributor

Diggsey commented May 4, 2017

The fix has gone in by now - please re-open if you're still experiencing the issue.

@Diggsey Diggsey closed this as completed May 4, 2017
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