Yasuhiro Matsumoto wrote:

> I got following error while loading ruby script file every time.
> 
>   "Encoding::ConverterNotFoundError: code converter not found
> (UTF-16LE to ASCII-8BIT)"
> 
> The cause is that Encoding::Converter using module 'Gem' and it should
> be auto-loading ruby-gems. I refered ruby's codes. and I found bits
> workaround(?) code in ruby.c:
>   http://github.com/yugui/ruby/blob/trunk/ruby.c#L1086
> 
> I wrote a patch for this problem.
> Please check and include.
> 
> http://gist.github.com/raw/612876/45261d2b395cce87d23a4072e1379e6b45175d5f/if_ruby_gem.diff

The usual question for this is: will this work for everybody?  Including
older Ruby versions, Windows/Unix?

-- 
hundred-and-one symptoms of being an internet addict:
247. You use www.switchboard.com instead of dialing 411 and 555-12-12
     for directory assistance.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.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