Removing unrequired gems