seattlerb/hoe — pull request #28 by tomykaira (2012-07-11 02:17:55+00:00)
Title: Workaround for rubinius/rubinius#1766

Rubinius has a bug in `open`. This results in the following error.
See https://github.com/rubinius/rubinius/issues/1766 .

```
** README.md is missing or in the wrong format for auto-intuiting.
run `sow blah` and look at its text files
** History.txt is missing or in the wrong format for auto-intuiting.
run `sow blah` and look at its text files
Manifest is missing or couldn't be read.
The Manifest is kind of a big deal.
Maybe you're using a gem packaged by a linux project.
It seems like they enjoy breaking other people's code.
```

This patch is workaround for the problem of `File.read_utf`.
I tested with rbx-head (1.9 compatible), MRI 1.8.7, MRI 1.9.3.