Update gem dependencies and brew packages.