fix for rubygems 2.0