patch Gem module to work with rubygems 2.x