Fixes compatibility with older versions of rubygems.
Merge pull request #235 from bryantraywick/bryantraywick-fix-compatibility-with-older-versions-of-rubygems

Fixes compatibility with older versions of rubygems.