[#4766] Wiki — "Glen Stampoultzis" <trinexus@...>

21 messages 2000/09/04
[#4768] RE: Wiki — "NAKAMURA, Hiroshi" <nahi@...> 2000/09/04

Hi, Glen,

[#4783] Re: Wiki — Masatoshi SEKI <m_seki@...> 2000/09/04

[#4785] Re: Wiki — "NAKAMURA, Hiroshi" <nakahiro@...> 2000/09/05

Howdy,

[#4883] Re-binding a block — Dave Thomas <Dave@...>

16 messages 2000/09/12

[#4930] Perl 6 rumblings -- RFC 225 (v1) Data: Superpositions — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/09/15

[#4936] Ruby Book Eng. translation editor's questions — Jon Babcock <jon@...>

20 messages 2000/09/16

[#5045] Proposal: Add constants to Math — Robert Feldt <feldt@...>

15 messages 2000/09/21

[#5077] Crazy idea? infix method calls — hal9000@...

This is a generalization of the "in" operator idea which I

17 messages 2000/09/22

[#5157] Compile Problem with 1.6.1 — Scott Billings <aerogems@...>

When I try to compile Ruby 1.6.1, I get the following error:

15 messages 2000/09/27

[ruby-talk:5047] Re: ruby interface for vim

From: "Akinori -Aki- MUSHA" <knu@...>
Date: 2000-09-21 14:12:06 UTC
List: ruby-talk #5047
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"

In This Thread