Hi, At Thu, 21 Sep 2000 18:40:03 +0900, Shugo Maeda <shugo / ruby-lang.org> wrote: > Then I modified the Ruby interface for vim-6.0h and ruby-1.6.0, > and wrote a document (if_ruby.txt). Excellent work! :> > You can get the patch at: > > http://www.ruby-lang.org/~shugo/vim-ruby/vim-6.0h-if_ruby-1.diff.gz > > (This patch does not include configure, so you have to run autoconf.) Seems the following fix is necessary for FreeBSD or other sh != bash environments. --- src/configure.in.orig Thu Sep 21 21:44:51 2000 +++ src/configure.in Thu Sep 21 21:45:25 2000 @@ -420,7 +420,7 @@ RUBY_LIBS="$rubylibs" fi librubyarg=`$vi_cv_path_ruby -r rbconfig -e 'print Config.expand(Config::CONFIG[["LIBRUBYARG"]])'` - if test "`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG[[\"ENABLE_SHARED\"]]'`" == "yes"; then + if test "`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG[[\"ENABLE_SHARED\"]]'`" = "yes"; then librubyarg=`$vi_cv_path_ruby -r rbconfig -e "print '$librubyarg'.gsub(/-L\./, %'-L#{Config.expand(Config::CONFIG[\"libdir\"])}')"` else librubyarg="$rubyhdrdir/$librubyarg" Also, the patch below gets CONF_OPT_RUBY really working. --- src/Makefile.orig Thu Sep 21 21:44:51 2000 +++ src/Makefile Thu Sep 21 21:49:28 2000 @@ -1284,6 +1284,7 @@ LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \ ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) \ $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) $(CONF_OPT_TCL) \ + $(CONF_OPT_RUBY) \ $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \ $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) $(CONF_OPT_WORKSHOP) \ $(CONF_OPT_FEAT) $(CONF_TERM_LIB) $(CONF_ARGS) Please merge them if it's okay. > I hope this patch will be included in vim in the future. Definitely. I would be nice if vim 6.0 release will be shipped with Ruby support. :) -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org "We're only at home when we're on the run, on the wing, on the fly"