- See here: http://vim.1045645.n5.nabble.com/MacVim-and-PATH-td3388705.html#a3392363
- Do this:
sudo mv /etc/zshenv /etc/zprofile
- Put this in your
~/.zprofile
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
:!ruby -v
should show you the global ruby version you set withrbenv global
- Change your
~/.zprofile
to look like this:
export PATH="$HOME/.rbenv/bin:/usr/local/bin:$PATH"
eval "$(rbenv init -)"
:!ctags --version
should now show you the version you installed with homebrew
For setting up rbenv/ruby in macvim I had to put this in my /etc/zprofile
Also make sure you don't have a zprofile script under your user account @ /User/(account name)/zprofile
Remove or copy that file information into /etc/zprofile