components/vim/Makefile
changeset 1482 7a1f84fbc2d7
parent 1431 9a892a7cb482
child 1871 0a2201439908
--- a/components/vim/Makefile	Thu Sep 19 20:39:13 2013 -0700
+++ b/components/vim/Makefile	Tue Sep 24 09:10:24 2013 -0700
@@ -115,6 +115,11 @@
 CONFIGURE_OPTIONS +=	--enable-pythoninterp=dynamic
 CONFIGURE_OPTIONS +=	--enable-rubyinterp=dynamic
 
+# Below option keeps using ruby 1.8, no matter which ruby version is the default.
+# When ruby 1.9 becomes available, we may change
+# the below to explicitly call $(RUBY.1.9).
+CONFIGURE_OPTIONS +=	--with-ruby-command=$(RUBY.1.8)
+
 # We build two variants: with and without X support.
 $(NOX_VARIANT)/.configured:	CONFIGURE_OPTIONS += --without-x
 $(NOX_VARIANT)/.configured:	CONFIGURE_OPTIONS += --disable-gui