You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
$ 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.
It would be better if the error message said something like:
The rust documentation isn't installed locally by default.
To read the documentation either go online to doc.rust-lang.org, or install locally by running:
$ rustup component add rust-docs
This seems like another manifestation of #901. I don't know why some see a silent failure and some get an error dialog. I suspect the message box here isn't coming from rustup itself but from whatever it's asking to open an html file, with some people's default application failing silently (or at least just not reporting it graphically) instead of complaining.
$ 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.
It would be better if the error message said something like:
The rust documentation isn't installed locally by default.
To read the documentation either go online to doc.rust-lang.org, or install locally by running:
$ rustup component add rust-docs
See https://users.rust-lang.org/t/psa-rust-documentation-is-now-optional-and-opt-in-when-installing-via-rustup/8072
The text was updated successfully, but these errors were encountered: