[Rubygems-developers] 1.3.5 soon

Eric Hodel drbrain at segment7.net
Tue Jun 30 19:03:53 EDT 2009


On Jun 29, 2009, at 20:04, Luis Lavena wrote:
> On Mon, Jun 29, 2009 at 8:58 PM, Eric Hodel<drbrain at segment7.net>  
> wrote:
>> [...]
>>
>> I didn't upload a new gem after the UTF-8 change, I only merged to  
>> the 1_3
>> branch.
>>
>> I'm not able to reproduce your issue, but I have a separate and  
>> possibly
>> related one:
>
> I was able to reduce the issue and put it in the minimal sample:
>
> http://pastie.org/528957
>
> Trying to do File.read on ChangeLog is failing, however on 1.8.6 the
> exact same command works flawlessly.

It seems to only be on display:

irb(main):002:0> b = File.read('ChangeLog')
Errno::ENOMEM: Not enough space - <STDOUT>
from C:/Users/Luis/Tools/Ruby/ruby-1.9.1-p129-i386-mingw32/lib/ruby/ 
1.9.1/irb.rb:302:in `write'

what about: b = File.read('ChangeLog'); nil

I don't see any non-UTF-8 characters in the ChangeLog:

$ iconv -t utf-8 < ChangeLog > ChangeLog2
$ diff ChangeLog ChangeLog2
$

This seems to be a Windows-only issue though.  Does adding a BOM to  
ChangeLog help?


More information about the Rubygems-developers mailing list