Trying to cache the gems.