Skip to content

Instantly share code, notes, and snippets.

@vesln
Created September 21, 2012 09:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save vesln/3760533 to your computer and use it in GitHub Desktop.
Save vesln/3760533 to your computer and use it in GitHub Desktop.
Vim Formula with Ruby & Python support for OS X
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
version '7.3.666'
url 'https://vim.googlecode.com/hg/', :revision => '1e22adc6176e'
head 'https://vim.googlecode.com/hg/'
def install
options = [
"--prefix=#{prefix}",
"--mandir=#{man}",
'--enable-gui=no',
'--without-x',
'--disable-nls',
'--enable-multibyte',
'--with-tlib=ncurses',
'--enable-pythoninterp',
'--enable-rubyinterp',
'--with-ruby-command=/usr/bin/ruby',
'--with-features=huge'
]
system "./configure", *options
system 'make'
system 'make install'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment