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
Upon downloading and running in a Github Codespace:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer
Welcome to Rust!
This will download and install the official compiler for the Rust
programming language, and its package manager, Cargo.
Rustup metadata and toolchains will be installed into the Rustup
home directory, located at:
/home/codespace/.rustup
This can be modified with the RUSTUP_HOME environment variable.
The Cargo home directory is located at:
/home/codespace/.cargo
This can be modified with the CARGO_HOME environment variable.
The cargo, rustc, rustup and other commands will be added to
Cargo's bin directory, located at:
/home/codespace/.cargo/bin
This path will then be added to your PATH environment variable by
modifying the profile files located at:
/home/codespace/.profile
/home/codespace/.bashrc
/home/codespace/.zshenv
/home/codespace/.config/fish/conf.d/rustup.fish
You can uninstall at any time with rustup self uninstall and
these changes will be reverted.
Current installation options:
default host triple: x86_64-unknown-linux-gnu
default toolchain: stable (default)
profile: default
modify PATH variable: yes
1) Proceed with standard installation (default - just press enter)
2) Customize installation
3) Cancel installation
>
error: could not amend shell profile: '/home/codespace/.config/fish/conf.d/rustup.fish': could not write rcfile file: '/home/codespace/.config/fish/conf.d/rustup.fish': No such file or directory (os error 2)
Upon creating the directory tree /home/codespace/.config/fish/conf.d, the error no longer happened. I am not sure why fish is being used - my $SHELL is /bin/bash
Steps
Instantiate a new Github Codespace
Go to rustup.rs and run the given command
Possible Solution(s)
No response
Notes
No response
Rustup version
rustup 1.27.0 (bbb9276d2 2024-03-08)info: This is the version for the rustup toolchain manager, not the rustc compiler.info: The currently active `rustc` version is `rustc 1.76.0 (07dca489a 2024-02-04)`
Problem
Upon downloading and running in a Github Codespace:
Upon creating the directory tree
/home/codespace/.config/fish/conf.d
, the error no longer happened. I am not sure why fish is being used - my$SHELL
is/bin/bash
Steps
rustup.rs
and run the given commandPossible Solution(s)
No response
Notes
No response
Rustup version
Installed toolchains
The text was updated successfully, but these errors were encountered: