[Rubygems-developers] 1.3.5 soon
luislavena at gmail.com
Wed Jul 1 20:47:26 EDT 2009
On Tue, Jun 30, 2009 at 8:03 PM, Eric Hodel<drbrain at segment7.net> wrote:
> 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
>>> 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:
>> 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>
> 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?
No, but the new File.read_utf that newest Hoe has does.
The only thing is that lib/hoe.rb:360 remains using File.read,
manually changed to read_utf and worked.
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
More information about the Rubygems-developers