on mac os x, assuming you have Homebrew installed:

brew install https://raw.github.com/adamv/homebrew-alt/master/duplicates/vim.rb

This version of vim has ruby support enabled

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

via stackoverflow.com

Even faster installation if you have Homebrew available on MAC OS X.