--- a/components/vim/Makefile Tue Nov 05 06:16:44 2013 -0800
+++ b/components/vim/Makefile Wed Nov 06 14:12:13 2013 -0800
@@ -20,7 +20,7 @@
#
#
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
#
include ../../make-rules/shared-macros.mk
@@ -110,6 +110,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