Cleans up gem file.