Fix missing gems. Set up staging db configs