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

I cannot run rustup and other executables right after installation on Mac OSX. #305

Closed
piaoger opened this issue Apr 13, 2016 · 5 comments
Closed

Comments

@piaoger
Copy link

piaoger commented Apr 13, 2016

I cannot run rustup and other executables right after installation on Mac OSX. I found below line is appended to ~/.bashrc, not ~/.bash_profile instead:
export PATH="$HOME/.cargo/bin:$PATH"

@peschkaj
Copy link
Contributor

Related to #211 (and somewhat related to #170 and #293).

@brson
Copy link
Contributor

brson commented Apr 13, 2016

@piaoger rustup now sets PATH in ~/.profile instead of ~/.bashrc. Does that work for you?

@brson
Copy link
Contributor

brson commented Apr 13, 2016

Oh, that change isn't published yet. I'll publish a new revision today.

@piaoger
Copy link
Author

piaoger commented Apr 22, 2016

@brson -
I verfied your change by unintalling and installing again on my machine today.
- ~/.cargo/bin stuff is removed from PATH in ~/.profile after uninstalling my previous version.
- ~/.cargo/bin stuff is added to PATH in ~/.profile after installing new version
so I suppose both installing and uninstalling on mac osx are working fine now.

@brson
Copy link
Contributor

brson commented Apr 25, 2016

Thanks for verifying @piaoger. Considering this fixed.

@brson brson closed this as completed Apr 25, 2016
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