Fix for RubyGems 2.0 internal changes.
Merge pull request #5 from djanowski/fix-rubygems-2.0

Fix for RubyGems 2.0 internal changes.