[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Linking the Ruby bindings on windows

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-01-08 00:34:39 CET

Hi

On 1/7/07, Kouhei Sutou <kou@cozmixng.org> wrote:
> Hi,
>
> In <0213965108DEAD48960CE83455E07DFF29F331@maa-exchmb.maa.corp.collab.net>
> "RE: [PATCH] Linking the Ruby bindings on windows" on Sat, 6 Jan 2007 15:20:17 +0530,
> "Vivek Chenecharry" <vivek@collab.net> wrote:
>

>
> Thanks for confirming. I've committed Joe's patch.
>

Oops, the parameter to -e needs to be all on one line separated by
semicolons. There might be a way to send multiple -e.

--
Joe Swatosh
[[[
* build/generator/gen_win.py
  (_find_ruby) The -e parameter needs to be all on one line.  So the
semicolons are
  needed.
]]]
Index: build/generator/gen_win.py
===================================================================
--- build/generator/gen_win.py  (revision 22927)
+++ build/generator/gen_win.py  (working copy)
@@ -1036,9 +1036,9 @@
     self.ruby_includes = []
     self.ruby_libdir = None
     proc = os.popen('ruby -rrbconfig -e ' + escape_shell_arg(
-                   "puts Config::CONFIG['LIBRUBY']\n"
-                   "puts Config::CONFIG['archdir']\n"
-                   "puts Config::CONFIG['libdir']\n"), 'r')
+                   "puts Config::CONFIG['LIBRUBY'];"
+                   "puts Config::CONFIG['archdir'];"
+                   "puts Config::CONFIG['libdir'];"), 'r')
     try:
       libruby = proc.readline()[:-1]
       if libruby:
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 8 00:34:45 2007

This is an archived mail posted to the Subversion Dev mailing list.