Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPATH not set post installation on OS X 10.11.4 #371
Comments
This comment has been minimized.
This comment has been minimized.
|
I've made some changes to this code recently, so I wonder if it broke. For reference, here's the post-install text:
So what's supposed to happen is that next time you log out of the OS (or reboot), the Have you logged out and logged back in yet? If you do that do the commands work? Was it unclear that you needed to log out? |
This comment has been minimized.
This comment has been minimized.
mxhold
commented
May 14, 2016
|
Ah I was confused by the same thing. I've installed other tools in the past that on post-install try to add to the To make matters worse, since I'm using zsh as my shell, I think it might be clearer if the post-install text at least indicated how rustup added Cargo's bin directory to the Alternatively, rustup could entirely avoid appending to any file and just alert the user on post-install that it's up to them to add the Cargo bin directory to their Thanks for your work on rustup by the way! It makes installing rust even easier. =) |
This comment has been minimized.
This comment has been minimized.
Digipom
commented
May 18, 2016
•
|
I can confirm this is an issue for me as well; Terminal is reading ~/.bash_profile, not ~/.profile. This seems to be true even after logging out and logging back in. |
This comment has been minimized.
This comment has been minimized.
Digipom
commented
May 18, 2016
|
I checked what MacPorts does as they need to update the path as well:
I'm not as familiar with linux; would this logic make sense there, too? The man page for bash on OSX says that
I also found this helpful: http://stackoverflow.com/questions/18773051/how-to-make-os-x-to-read-bash-profile-not-profile-file |
This comment has been minimized.
This comment has been minimized.
|
For some reason I recall having difficulties detecting the user's preferred shell, like maybe Since it doesn't hurt to append to PATH redundantly I'm still a bit in favor of appending to every relevant file we can locate that already exists, plus unconditionally appending to |
This comment has been minimized.
This comment has been minimized.
tafia
commented
Jul 3, 2016
|
I confirm the issue on my system as well |
brson
changed the title
PATH not set post installation on OS X 10.11.4
Setting PATH through .profile is unreliable
Jul 8, 2016
brson
changed the title
Setting PATH through .profile is unreliable
PATH not set post installation on OS X 10.11.4
Jul 8, 2016
brson
referenced this issue
Jul 8, 2016
Closed
PATH variable not available in non-interactive shells on Linux #556
This comment has been minimized.
This comment has been minimized.
Frijol
commented
Jul 16, 2016
|
not working for me either, on OSX 10.10.5 |
This comment has been minimized.
This comment has been minimized.
|
On my system the installer updates |
This comment has been minimized.
This comment has been minimized.
mikeyb
commented
Oct 17, 2016
|
In the same boat it seems. Need to write to ~/.zprofile but don't see the option to |
This comment has been minimized.
This comment has been minimized.
|
I have the same issue on 10.11.6, |
carols10cents
referenced this issue
Mar 6, 2017
Open
Environment not set up on Ubuntu at install #975
This comment has been minimized.
This comment has been minimized.
dylanmc
commented
Mar 8, 2017
|
I just had this problem on 10.12.3. The tools get installed in ~/.cargo/bin, and that directory is in my PATH, but the installer fails with this message. |
This comment has been minimized.
This comment has been minimized.
F1ks3r
commented
Mar 10, 2017
•
|
Quick fix:
if your terminal configured to your username and you are an admin this should work, but this is just a quick fix My OS is 10.11.5 Also check what profile you are using, you can configure one and might end up using some other. I see that that's the case to some people, so if you use Just put |
slayerjain commentedApr 28, 2016
The installer said it would set the path, after installation, but even after installation there's no sign of rustup.