update ruby. some mid testing changes