Created
December 28, 2015 14:15
-
-
Save luiskhernandez/647976badb46a41b4d81 to your computer and use it in GitHub Desktop.
Issue running rubocop in vim, wrong ruby version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm also has this problem. If zsh is your default shell when it starts /etc/zshenv gets executed. | |
This executes /usr/libexec/path_helper. That sets up the path based on the contents /etc/paths and /etc/paths.d/. | |
The faq for rvm mentions moving /etc/zshenv to /zsh/zshrc. I did this and it removed the /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin from the start of my path in macvim. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment