Fix for Rubygems 2.0