sets up gem