Installing vim with ruby support (+ruby)

后端 未结 13 2127
萌比男神i
萌比男神i 2020-12-04 07:37

I\'m trying to get command-t installed for vim but my current version of vim doesn\'t have the (+ruby) flag. The command \"which ruby\" shows that ruby is installed.

13条回答
  •  情话喂你
    2020-12-04 07:44

    On mac os x, assuming you have Homebrew installed:

    brew install https://raw.github.com/Homebrew/homebrew-dupes/master/vim.rb
    

    This version of vim has ruby support enabled

    Source: http://blog.jerodsanto.net/2011/08/brew-install-vim/

    EDIT: edited the url, thanks @david-xia for mentioning the change

    UPDATE: Apparently, homebrew vim now comes with ruby support enabled by default so you just need to do brew install vim (see comment below)

提交回复
热议问题