add gems and change db configs