Update for compatibility with rubinius.

Here's a pull request to close #11.