ruby - While I try install 'gem install watir' I get this error -


while try install watir, have following error, can please guide me how resolve problem?

 c:\>gem install watir -v 4.0.2 error:  while executing gem ... (gem::remotefetcher::fetcherror) errno::econnreset: existing connection forcibly closed remote host. - ssl_connect (https://api.rubygems.org/api/v1/dependencies?gems=watir-webdriver) 

i using ruby 2.1.5 , watir 4.0.2.

whenever see following error:

errno::econnreset: existing connection forcibly closed remote host. 

but can access internet normally, has high possibility request has been blocked chinese governments' great firewall.

in such case, can try changing dns settings 8.8.8.8(google) if not in china, or can use taobao's mirror otherwise.

see ruby.taobao.org details, if understand chinese.

the worst case ip of server serving gem blocked great firewall. intercept tcp handshakes send rst packets both browser/client , server. in such case, have use proxy or vpn job done.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -