Update from Gem.cache to Gem::Specification to comply to new Rubygems