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

Assertion error when user has a ~/.profile in zsh #1039

Closed
nickhs opened this issue Apr 7, 2017 · 1 comment
Closed

Assertion error when user has a ~/.profile in zsh #1039

nickhs opened this issue Apr 7, 2017 · 1 comment

Comments

@nickhs
Copy link

nickhs commented Apr 7, 2017

Hey all! I get an assertion error when attempting to run rustup in zsh and I have an existing ~/.profile file. I believe the assertion is incorrect after #1013.

~ ➤ ps
  PID TTY           TIME CMD
11724 ttys000    0:00.03 /Applications/iTerm.app/Contents/MacOS/iTerm2 --serve
11726 ttys000    0:00.24 -zsh
~ ➤ echo $ZSH_VERSION
5.2
~ ➤ curl https://sh.rustup.rs -sSf | sh

info: downloading installer
thread 'main' panicked at 'assertion failed: `(left == right)` (left: `2`, right: `1`)', src/rustup-cli/self_update.rs:495
note: Run with `RUST_BACKTRACE=1` for a backtrace.
rustup: command failed: /var/folders/28/7ycfrlks3nz3thkycn28ny1r0000gn/T/tmp.V5jUMqP2/rustup-init

@brson stated that the PATH changes should be happening in multiple places, which I believe runs counter to what this assertion is checking. https://github.com/rust-lang-nursery/rustup.rs/blob/master/src/rustup-cli/self_update.rs#L495

@nickhs nickhs changed the title Assertion error when user has a ~/.profile in zsh Assertion error when user has a ~/.profile in zsh Apr 7, 2017
@nickhs
Copy link
Author

nickhs commented Apr 7, 2017

Woops this is a duplicate of #1034 - closing.

@nickhs nickhs closed this as completed Apr 7, 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

1 participant