Skip to content

Instantly share code, notes, and snippets.

@kriskova
Forked from srpouyet/brew_install_macvim.md
Created March 12, 2018 15:21
Show Gist options
  • Save kriskova/54ed59ca5135377331064f6d677a1a74 to your computer and use it in GitHub Desktop.
Save kriskova/54ed59ca5135377331064f6d677a1a74 to your computer and use it in GitHub Desktop.
How to `brew install` Vim or Macvim with the Ruby version in the current PATH (set by chruby for example)

brew install with the option --env=std so the Ruby in the current PATH will be used while compiling (mac)vim.

brew install --env=std vim --with-custom-ruby  --with-override-system-vi --with-lua --with-luajit --with-mzscheme --with-tcl
brew install --env=std macvim --with-lua --with-luajit --with-python3 --HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment