Updated ruby version and patched getaddrinfo issue