I upgraded to El Capitan last week and noticed shortly thereafter that my path was messed up; when opening up new terminal windows, the active version of ruby was the system version instead of my RVM default. On investigating, I saw that for some reason the default paths in
/usr/local/bin:/usr/bin:…) were first in my path instead of last, as they would have been if my
.zshrc were being sourced properly. Here’s how I fixed it.