Update gems and make most of the tests pass