Adds support for Ruby 2.1.0.

Tests pass for me on mac os x.