Ruby Net::OpenTimeout: execution expired
Looks like it's a an issue with how Ruby resolves DNS.
Added require 'resolv-replace'
and now it's opening connections immediately.
Sources: https://stackoverflow.com/a/27485369/116925 https://github.com/ruby/ruby/pull/597#issuecomment-40507119