Rewrite the rubygems cache