Homebrew/homebrew-dupes — pull request #74 by smmckay (2012-08-26 12:46:05+00:00)
Title: Fix vim on Mountain Lion when ruby 1.9 is installed

vim is not compatible with Ruby 1.9. ld decides to load /usr/local/lib/libruby.dylib when it can and fails the link due to missing symbols. Adding /usr/bin/libruby.dylib to the linker flags ensures vim is linked against ruby 1.8.