ruby: update optional dependencies.