How to use correct ruby in vim ? How to modify $PATH in VIM?

后端 未结 7 934
别那么骄傲
别那么骄傲 2020-12-14 04:41

I use plain Vim with ruby support on Lion (installed by gist). I am using ruby with rbenv so my path looks like /users/me/.rbenv/shims:.....

From within vim the pat

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-14 05:04

    This is a known problem introduced by Apple in OS X 10.5 Leopard.

    If you are using Bash or Zsh and are using non-interactive shells, you are affected.

    Running sudo chmod ugo-x /usr/libexec/path_helper will fix you up, but you should take a look at the article to see why.

提交回复
热议问题