Kent Sibilev wrote:

> Hi everyone!
> 
> I've found that executing an external programs via ruby binding is
> somewhat broken (assuming Ruby version 1.9.2 or higher):
> 
> :ruby puts `pwd`
> 
> Error detected while processing command line:
> NoMethodError: undefined method `flush' for #<Object:0x00000001d26f80>
> 
> Ruby binding redefines stdout object, but it seems that Ruby 1.9
> assumes that IO objects implement 'flush' methods thus the above
> error.
> The following patch should fix it:

I'll include this soon, unless someone says it is not OK.


-- 
ARTHUR:  Bloody peasant!
DENNIS:  Oh, what a give away.  Did you hear that, did you hear that, eh?
         That's what I'm on about -- did you see him repressing me, you saw it
         didn't you?
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui