|# default vim on osx doesn't have python, ruby support or clipboard support. These configure options add all that|
|# I also ran into problems using rvm ruby, had to include those libs in the LDFLAGS for vim|
|$ rvm install 1.9.1|
|$ rvm use 1.9.1 # vim doesn't support anything higher|
|$ curl ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 | tar xj|
|$ cd vim73|
|$ ./configure --with-features=huge --enable-perlinterp=yes --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-multibyte|
|$ # edit src/auto/config.mk, add `-L/Users/dcosson/.rvm/rubies/ruby-1.9.1-p431/lib` to the LDFLAGS row|
|$ sudo make install|
The rvm command 'rvm install 1.9.1' failed for me on OS X Lion with the following error:
"The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read 'rvm requirements.' "
I was able to get past this by adding --with-gcc=clang to the rvm command.