mxcl/homebrew — pull request #10490 by rstacruz (2012-02-26 04:49:52+00:00)
Title: macvim: Use system Ruby by default

For MacVim, use the system /usr/bin/ruby by default. This way, users of rbenv/rvm will not have broken Ruby support.

You can also override it with `--with-ruby-command=...`, which I can imagine would be useful if you have a custom-built Ruby installed with RVM and wrapped with `rvm wrapper`.

This is in response to @adamv's comment:

> Should we build against system ruby by default and provide a switch to use whatever is found in the path?

and @pencilcheck's:

> This is not a bad idea, but I don't know how much this will affect the other installations by this switch. Besides that I don't see any reasons not to.

Personally I think it's a very safe default to assume.

Related: #10121