Skip to content

Instantly share code, notes, and snippets.

@srpouyet
Created December 30, 2016 10:00
Show Gist options
  • Save srpouyet/2aaf7e48c559b36166e5871c2ce87190 to your computer and use it in GitHub Desktop.
Save srpouyet/2aaf7e48c559b36166e5871c2ce87190 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