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 doc produces an error dialog #39969

Closed
mark-summerfield opened this issue Feb 20, 2017 · 3 comments
Closed

rustup doc produces an error dialog #39969

mark-summerfield opened this issue Feb 20, 2017 · 3 comments

Comments

@mark-summerfield
Copy link
Contributor

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

I installed rust using the command in the online manual:

$ curl https://sh.rustup.rs -sSf | sh

This set the path in my .profile file but that doesn't seem to be read even when I open a new console, so I copied the path command into .bashrc and opened a new console:

$ rustc --version
rustc 1.15.1 (021bd29 2017-02-08)

$ rustup doc
This popped up an untitled message box with the following text:

Failed to open "/home/mark/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/index.html".
Error when getting information for file '/home/mark/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/rust/html/index.html': No such file or directory.

$ ls .rustup/
settings.toml tmp toolchains update-hashes

PS I think the docs ought to mention that installing rust creates both $HOME/.cargo and $HOME/.rustup

@ishitatsuyuki
Copy link
Contributor

@ishitatsuyuki
Copy link
Contributor

Side note: if you want a better error message, file this issue in the rustup repo instead.

@mark-summerfield
Copy link
Contributor Author

Done: rust-lang/rustup#959

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

2 participants